nur-packages

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

commit e192fd103021183fbe55154634d36c47056ac1c7
parent d3acfaffd31957c02017dd3d6069321da83480b2
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Thu, 25 Mar 2021 22:36:01 +0300

Add gssg

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/gemini/gssg/default.nix | 23+++++++++++++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -185,6 +185,7 @@ lib.makeScope newScope ( gmnhg = callPackage ./gemini/gmnhg { }; gmni = callPackage ./gemini/gmni { }; gmnisrv = callPackage ./gemini/gmnisrv { }; + gssg = callPackage ./gemini/gssg { }; gurl = callPackage ./gemini/gurl { }; kiln = callPackage ./gemini/kiln { }; kineto = callPackage ./gemini/kineto { }; diff --git a/pkgs/gemini/gssg/default.nix b/pkgs/gemini/gssg/default.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromSourcehut }: + +buildGoModule rec { + pname = "gssg"; + version = "2020-12-08"; + + src = fetchFromSourcehut { + owner = "~gsthnz"; + repo = pname; + rev = "747b6b41fbe93f0b408a58c8e6a1f11c7945c819"; + sha256 = "131c9png0ky6sag39nr6jab2l62y88d0ii7cv6cq5ayj07gs7if8"; + }; + + vendorSha256 = "188v7nax3yss7hqin41mjin8inkh6q7bv8pmbls2dwd809pxj5rp"; + + meta = with lib; { + description = "A gemini static site generator"; + homepage = "https://git.sr.ht/~gsthnz/gssg"; + license = licenses.gpl3Only; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}