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
658 B
Nix
Raw Normal View History

2022-04-02 19:21:56 +00:00
{ lib, stdenv, fetchFromGitHub, bison, libressl, libevent }:
2021-10-14 18:13:49 +00:00
stdenv.mkDerivation rec {
pname = "gmid";
2022-07-29 11:16:39 +00:00
version = "1.8.4";
2021-10-14 18:13:49 +00:00
src = fetchFromGitHub {
owner = "omar-polo";
repo = pname;
rev = version;
2022-07-29 11:16:39 +00:00
hash = "sha256-WI3EJEhhd0UwtbOhRpt+8XEHuG6YrKAcT4mO1caZ+hE=";
2021-10-14 18:13:49 +00:00
};
2022-04-02 19:21:56 +00:00
nativeBuildInputs = [ bison ];
2021-10-14 18:13:49 +00:00
buildInputs = [ libressl libevent ];
configureFlags = [
"PREFIX=${placeholder "out"}"
];
2021-10-14 18:13:49 +00: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;
};
}