depot/third_party/nixpkgs/pkgs/servers/gemini/gmid/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

29 lines
658 B
Nix

{ lib, stdenv, fetchFromGitHub, bison, libressl, libevent }:
stdenv.mkDerivation rec {
pname = "gmid";
version = "1.8.6";
src = fetchFromGitHub {
owner = "omar-polo";
repo = pname;
rev = version;
hash = "sha256-ds5k5VHwc7/sq4PUe/WvxAx7gJkU4phKZk0KunPLNE0=";
};
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;
};
}