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 22:21:56 +03:00
{ lib, stdenv, fetchFromGitHub, bison, libressl, libevent }:
2021-10-14 21:13:49 +03:00
stdenv.mkDerivation rec {
pname = "gmid";
2024-06-04 17:44:19 +03:00
version = "2.0.3";
2021-10-14 21:13:49 +03:00
src = fetchFromGitHub {
owner = "omar-polo";
repo = pname;
rev = version;
2024-06-04 17:44:19 +03:00
hash = "sha256-izugxV+fSYBf193ilu70M3OkT6gnkXrTP45gEkEImuA=";
2021-10-14 21:13:49 +03:00
};
2022-04-02 22:21:56 +03:00
nativeBuildInputs = [ bison ];
2021-10-14 21:13:49 +03:00
buildInputs = [ libressl libevent ];
configureFlags = [
"PREFIX=${placeholder "out"}"
];
2021-10-14 21:13:49 +03: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;
};
}