nur-packages

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

commit 96e4d08118b2eea25c058b0ee2ee09dc3e928107
parent be40e48aabf5a212e9832fd55a898215d411f208
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Thu, 10 Mar 2022 18:50:19 +0300

Add gemgen

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/gemini/gemgen/default.nix | 25+++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -133,6 +133,7 @@ lib.makeScope newScope ( astronaut = callPackage ./gemini/astronaut { }; comitium = callPackage ./gemini/comitium { }; gemcert = callPackage ./gemini/gemcert { }; + gemgen = callPackage ./gemini/gemgen { }; gemget = callPackage ./gemini/gemget { }; gemini-ipfs-gateway = callPackage ./gemini/gemini-ipfs-gateway { }; geminid = callPackage ./gemini/geminid { }; diff --git a/pkgs/gemini/gemgen/default.nix b/pkgs/gemini/gemgen/default.nix @@ -0,0 +1,25 @@ +{ lib, buildGoModule, fetchFromSourcehut, scdoc }: + +buildGoModule rec { + pname = "gemgen"; + version = "0.6.0"; + + src = fetchFromSourcehut { + owner = "~kota"; + repo = pname; + rev = "v${version}"; + hash = "sha256-2oIgBcdq2tJCKyh5ob2cn2mLRd7YoeRsKy5qqu0+jPk="; + }; + + vendorSha256 = "sha256-KBG7RvWb0nzW9ZSPL1a65Jq9DsSHea8bKLvz6Ft5FsY="; + + nativeBuildInputs = [ scdoc ]; + + meta = with lib; { + description = "Markdown to Gemtext generator"; + inherit (src.meta) homepage; + license = licenses.gpl3Only; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}