commit 67a8218d4f823b32ef6be333795e833bbf6f2c98
parent 171ed12c5decc84ec0dc1e868c1084fe7dbe0726
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Mon, 15 Nov 2021 10:45:44 +0300
Add stagit-gemini
Diffstat:
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -147,6 +147,7 @@ lib.makeScope newScope (
qute-gemini = callPackage ./gemini/qute-gemini { };
satellite = callPackage ./gemini/satellite { };
shavit = callPackage ./gemini/shavit { };
+ stagit-gemini = callPackage ./gemini/stagit-gemini { };
stargazer = callPackage ./gemini/stargazer {
inherit (darwin.apple_sdk.frameworks) Security;
};
diff --git a/pkgs/gemini/stagit-gemini/default.nix b/pkgs/gemini/stagit-gemini/default.nix
@@ -0,0 +1,26 @@
+{ lib, stdenv, libgit2, fetchFromGitea }:
+
+stdenv.mkDerivation rec {
+ pname = "stagit-gemini";
+ version = "2020-01-18";
+
+ src = fetchFromGitea {
+ domain = "git.rawtext.club";
+ owner = "sloum";
+ repo = pname;
+ rev = "2710449792748ac3fefe4ba2500afce1ed193e37";
+ sha256 = "sha256-Tm9jXkGtUNeZNhtHjozWN35z8gL/KcACLvby2Z73vxU=";
+ };
+
+ makeFlags = [ "PREFIX=$(out)" ];
+
+ buildInputs = [ libgit2 ];
+
+ meta = with lib; {
+ description = "Fork of stagit-gopher that ports the output to gemini";
+ homepage = "https://git.rawtext.club/sloum/stagit-gemini";
+ license = licenses.mit;
+ platforms = platforms.unix;
+ maintainers = [ maintainers.sikmir ];
+ };
+}