diff options
author | Ben Sima <ben@bsima.me> | 2021-03-30 10:53:38 -0400 |
---|---|---|
committer | William Casarin <jb55@jb55.com> | 2021-03-31 18:35:50 -0700 |
commit | b79f866f88317bfc85b5ff813625de5deb8beb5c (patch) | |
tree | 73a262bca1f0ccdb5a71b963d13fea75c6150f8b /pkgs/servers/gemini | |
parent | 4b8f14d9cb35367b968bd8836db3aa39fe9cc78b (diff) |
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
Diffstat (limited to 'pkgs/servers/gemini')
-rw-r--r-- | pkgs/servers/gemini/gmnisrv/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/servers/gemini/gmnisrv/default.nix b/pkgs/servers/gemini/gmnisrv/default.nix new file mode 100644 index 0000000000000..4a8e187561c41 --- /dev/null +++ b/pkgs/servers/gemini/gmnisrv/default.nix @@ -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; + }; +} |