commit a9047b13094f1d658f97279d4861d71729203993 parent d48efffea54fd24c9cb777d0d1eac463e7bcc121 Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Wed, 21 Apr 2021 10:18:22 +0300 Add gmnigit Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/gemini/gmnigit/default.nix | | | 23 | +++++++++++++++++++++++ |
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -182,6 +182,7 @@ lib.makeScope newScope ( gmi2html = callPackage ./gemini/gmi2html { }; gmnhg = callPackage ./gemini/gmnhg { }; gmni = callPackage ./gemini/gmni { }; + gmnigit = callPackage ./gemini/gmnigit { }; gmnisrv = callPackage ./gemini/gmnisrv { }; gssg = callPackage ./gemini/gssg { }; gurl = callPackage ./gemini/gurl { }; diff --git a/pkgs/gemini/gmnigit/default.nix b/pkgs/gemini/gmnigit/default.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromSourcehut }: + +buildGoModule rec { + pname = "gmnigit"; + version = "2021-04-16"; + + src = fetchFromSourcehut { + owner = "~kornellapacz"; + repo = pname; + rev = "9cdc82885cf4286f621f8cb7f26c45aa4e513ad6"; + sha256 = "1wx41k3mgypacgavlnnr7z62879xs0n4986pmcqk4bjgn77471nn"; + }; + + vendorSha256 = "0kjz21bzn829k10x3fvsvij4zxmi1ahq4bnk62lghrvazjbqk2r9"; + + meta = with lib; { + description = "Static git gemini viewer"; + homepage = "https://git.sr.ht/~kornellapacz/gmnigit"; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}