3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/gemini/gmid/default.nix
2022-07-29 11:16:39 +00:00

30 lines
658 B
Nix

{ lib, stdenv, fetchFromGitHub, bison, libressl, libevent }:
stdenv.mkDerivation rec {
pname = "gmid";
version = "1.8.4";
src = fetchFromGitHub {
owner = "omar-polo";
repo = pname;
rev = version;
hash = "sha256-WI3EJEhhd0UwtbOhRpt+8XEHuG6YrKAcT4mO1caZ+hE=";
};
nativeBuildInputs = [ bison ];
buildInputs = [ libressl libevent ];
configureFlags = [
"PREFIX=${placeholder "out"}"
];
meta = with lib; {
description = "Simple and secure Gemini server";
homepage = "https://gmid.omarpolo.com/";
license = licenses.isc;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.linux;
};
}