gmnisrv: init at unstable-2021-03-26

Reviewed-by: William Casarin <jb55@jb55.com>
Link: https://lists.sr.ht/~andir/nixpkgs-dev/%3C20210330145338.8149-2-ben@bsima.me%3E
This commit is contained in:
Ben Sima 2021-03-30 10:53:38 -04:00 committed by William Casarin
parent 4b8f14d9cb
commit b79f866f88
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, lib, fetchFromSourcehut, pkg-config, openssl, mime-types, scdoc }:
stdenv.mkDerivation rec {
pname = "gmnisrv";
version = "unstable-2021-03-26";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "gmnisrv";
rev = "f23ec10a6d66c574bbf718c4b10f2cf91ea8daef";
sha256 = "1d9rjx0s092yfzjxd2yvzixhqgg883nlnmsysgp21w75n2as354n";
};
MIMEDB = "${mime-types}/etc/mime.types";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl mime-types scdoc ];
meta = with lib; {
description = "A simple Gemini protocol server";
homepage = "https://git.sr.ht/~sircmpwn/gmnisrv";
license = licenses.gpl3Only;
maintainers = with maintainers; [ bsima jb55 ];
platforms = platforms.all;
};
}

View File

@ -1374,6 +1374,8 @@ in
gmni = callPackage ../applications/networking/browsers/gmni { };
gmnisrv = callPackage ../servers/gemini/gmnisrv { };
goimapnotify = callPackage ../tools/networking/goimapnotify { };
gojsontoyaml = callPackage ../development/tools/gojsontoyaml { };