diff options
author | Nikolay Korotkiy <sikmir@gmail.com> | 2021-10-14 21:13:49 +0300 |
---|---|---|
committer | Nikolay Korotkiy <sikmir@gmail.com> | 2021-10-25 10:01:09 +0300 |
commit | aa52a861a0d64d0b00701d4f0d37e470ef8fa239 (patch) | |
tree | c18aed660aca163c61b5e8b48b80f8a726ed7aad /pkgs/servers/gemini | |
parent | 2810c8a6cc133600f90e5c67c42d5dd495ec7837 (diff) |
gmid: init at 1.7.5
Diffstat (limited to 'pkgs/servers/gemini')
-rw-r--r-- | pkgs/servers/gemini/gmid/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/servers/gemini/gmid/default.nix b/pkgs/servers/gemini/gmid/default.nix new file mode 100644 index 0000000000000..f06498d583b53 --- /dev/null +++ b/pkgs/servers/gemini/gmid/default.nix @@ -0,0 +1,31 @@ +{ lib, stdenv, fetchFromGitHub, bison, libressl, libevent }: + +stdenv.mkDerivation rec { + pname = "gmid"; + version = "1.7.5"; + + src = fetchFromGitHub { + owner = "omar-polo"; + repo = pname; + rev = version; + sha256 = "sha256-BBd0AL5jRRslxzDnxcTZRR+8J5D23NAQ7mp9K+leXAQ="; + }; + + nativeBuildInputs = [ bison ]; + + buildInputs = [ libressl libevent ]; + + configurePhase = '' + runHook preConfigure + ./configure PREFIX=$out + runHook postConfigure + ''; + + meta = with lib; { + description = "Simple and secure Gemini server"; + homepage = "https://gmid.omarpolo.com/"; + license = licenses.isc; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.linux; + }; +} |