commit 8a48d1c97efcaaa252a09f3bdfa1271e6a91b9ff
parent 1b8aa4a359a7e1a820bd39de9228265c9aebc071
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Mon, 11 Jan 2021 22:51:15 +0300
Add gmnisrv
Diffstat:
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -234,6 +234,7 @@ lib.makeScope newScope (
elevation_server = callPackage ./servers/elevation_server { };
geminid = callPackage ./servers/geminid { };
glauth = callPackage ./servers/glauth { };
+ gmnisrv = callPackage ./servers/gmnisrv { };
nakarte = callPackage ./servers/nakarte { };
quark = callPackage ./servers/quark { };
shavit = callPackage ./servers/shavit { };
diff --git a/pkgs/servers/gmnisrv/default.nix b/pkgs/servers/gmnisrv/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchgit, openssl, pkg-config, scdoc }:
+
+stdenv.mkDerivation {
+ pname = "gmnisrv";
+ version = "2020-12-27";
+
+ src = fetchgit {
+ url = "https://git.sr.ht/~sircmpwn/gmnisrv";
+ rev = "fbef1d34a1abd2614f85afee415fe0f417038efe";
+ sha256 = "0y42vj5vy8pk732dkbdywgixr9bxpg11hf4w2qsa1vwqw3xbvdka";
+ };
+
+ nativeBuildInputs = [ pkg-config scdoc ];
+
+ buildInputs = [ openssl ];
+
+ meta = with stdenv.lib; {
+ description = "Simple Gemini protocol server";
+ homepage = "https://git.sr.ht/~sircmpwn/gmnisrv";
+ license = licenses.gpl3;
+ maintainers = [ maintainers.sikmir ];
+ platforms = platforms.unix;
+ };
+}