nixpkgs/pkgs/by-name/gm/gmid/package.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";
2024-04-08 10:13:18 +00:00
version = "2.0.2";
2021-10-14 18:13:49 +00:00
src = fetchFromGitHub {
owner = "omar-polo";
repo = pname;
rev = version;
2024-04-08 10:13:18 +00:00
hash = "sha256-5K6+CVX0/m6SBcTvwy4GD0x9R/yQjd+2tTJiA4OagcI=";
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;
};
}