nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 0c8d2e37d22594064ddbc5c48d2fe6f737167982
parent d042f6f7a2ed766e9d72c54f4fbb10f7e4700fe0
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Thu, 24 Dec 2020 07:56:40 +0300

Add stagit

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/tools/misc/stagit/default.nix | 24++++++++++++++++++++++++
2 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -191,6 +191,7 @@ lib.makeScope newScope ( phyghtmap = callPackage ./tools/geo/phyghtmap { }; ptunnel = callPackage ./tools/networking/ptunnel { }; sendmap20 = callPackage ./tools/geo/sendmap20 { }; + stagit = callPackage ./tools/misc/stagit { }; stardict-tools = # Needed for nixos-19.09 if pkgs ? libmysql diff --git a/pkgs/tools/misc/stagit/default.nix b/pkgs/tools/misc/stagit/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchgit, libgit2 }: + +stdenv.mkDerivation { + pname = "stagit"; + version = "2020-11-28"; + + src = fetchgit { + url = "git://git.codemadness.org/stagit"; + rev = "e1c0aebde443979a524a944027b81f84f4323ff3"; + sha256 = "0gjjkidhscjlmyksphp38i5n5krplx8anhy41zzjjzvsxmavyx1v"; + }; + + buildInputs = [ libgit2 ]; + + makeFlags = [ "PREFIX=$(out)" ]; + + meta = with stdenv.lib; { + description = "Static git page generator"; + homepage = "https://git.codemadness.org/stagit/file/README.html"; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.linux; + }; +}