22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
29 lines
658 B
Nix
29 lines
658 B
Nix
{ lib, stdenv, fetchFromGitHub, bison, libressl, libevent }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gmid";
|
|
version = "1.8.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "omar-polo";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-vghoPsyGspPn22Kl61qiaALS2R243JSuS80uKFBHc9k=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|