From ba26339b35f4ec5461f044b9ac08a7c2be4143f3 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 19 Mar 2021 11:29:25 -0400 Subject: Add bearssl, gmni, and gmnisrv Eventually I'll just upstream these to nixpkgs-dev. I also want to make z into a gemini-compatible zettlekasten. All in due time. --- Biz/Bild/Deps/gmnisrv.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Biz/Bild/Deps/gmnisrv.nix (limited to 'Biz/Bild/Deps/gmnisrv.nix') diff --git a/Biz/Bild/Deps/gmnisrv.nix b/Biz/Bild/Deps/gmnisrv.nix new file mode 100644 index 0000000..b40e8f5 --- /dev/null +++ b/Biz/Bild/Deps/gmnisrv.nix @@ -0,0 +1,21 @@ +{stdenv, fetchgit, pkg-config, openssl, mailcap, scdoc}: + +stdenv.mkDerivation { + name = "gmnvisrv"; + version = "f23ec10a"; + src = fetchgit { + url = "https://git.sr.ht/~sircmpwn/gmnisrv"; + rev = version; + sha256 = "1d9rjx0s092yfzjxd2yvzixhqgg883nlnmsysgp21w75n2as354n"; + }; + MIMEDB = "${mailcap}/etc/mime.types"; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ openssl mailcap scdoc ]; + meta = with stdenv.lib; { + description = "A simple Gemini protocol server"; + homepage = "https://git.sr.ht/~sircmpwn/gmnisrv"; + license = licenses.gpl3; + maintainers = with maintainers; [ bsima ]; + platforms = platforms.all; + }; +} -- cgit v1.2.3