3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/gemini/gmid/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
671 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, bison, which, libressl, libevent }:
2021-10-14 19:13:49 +01:00
stdenv.mkDerivation rec {
pname = "gmid";
version = "1.8.1";
2021-10-14 19:13:49 +01:00
src = fetchFromGitHub {
owner = "omar-polo";
repo = pname;
rev = version;
hash = "sha256-XNif164C5b5sVsZW7sy0id4qM/mJzg3RhoHbwJuJqDk=";
2021-10-14 19:13:49 +01:00
};
nativeBuildInputs = [ bison which ];
2021-10-14 19:13:49 +01:00
buildInputs = [ libressl libevent ];
configureFlags = [
"PREFIX=${placeholder "out"}"
];
2021-10-14 19:13:49 +01:00
meta = with lib; {
description = "Simple and secure Gemini server";
homepage = "https://gmid.omarpolo.com/";
license = licenses.isc;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.linux;
};
}