commit e53339402a158a936a573edb9fb95d38996c99fa parent ed20a605015ab2b4e42621817dfc4c5f52c2ff93 Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Mon, 22 Feb 2021 23:46:45 +0300 Add gmnhg Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/gemini/gmnhg/default.nix | | | 22 | ++++++++++++++++++++++ |
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -197,6 +197,7 @@ lib.makeScope newScope ( geminid = callPackage ./gemini/geminid { }; gloggery = callPackage ./gemini/gloggery { }; gmi2html = callPackage ./gemini/gmi2html { }; + gmnhg = callPackage ./gemini/gmnhg { }; gmni = callPackage ./gemini/gmni { }; gmnisrv = callPackage ./gemini/gmnisrv { }; gurl = callPackage ./gemini/gurl { }; diff --git a/pkgs/gemini/gmnhg/default.nix b/pkgs/gemini/gmnhg/default.nix @@ -0,0 +1,22 @@ +{ lib, buildGoModule, fetchgit }: + +buildGoModule rec { + pname = "gmnhg"; + version = "0.1.1"; + + src = fetchgit { + url = "https://git.tdem.in/tdemin/gmnhg"; + rev = "v${version}"; + sha256 = "0vvcfiw31rx31j4qi0ql8bpm3xvzrg5hbzfzq2f0vy1s23wwazkd"; + }; + + vendorSha256 = "1cc899bvjlk3j8hqm7gyxssc5yjjv46jl4fpwycyr75cwvdz9bdb"; + + meta = with lib; { + description = "Hugo-to-Gemini Markdown converter"; + homepage = "https://git.tdem.in/tdemin/gmnhg"; + license = licenses.gpl3Plus; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}