895a3dd675
* gmid: 1.8 -> 1.8.1 (#159180) * gmid: fix v1.8.1 source hash and use configureFlags instead of overriding configurePhase Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
30 lines
671 B
Nix
30 lines
671 B
Nix
{ lib, stdenv, fetchFromGitHub, bison, which, libressl, libevent }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gmid";
|
|
version = "1.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "omar-polo";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-XNif164C5b5sVsZW7sy0id4qM/mJzg3RhoHbwJuJqDk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ bison which ];
|
|
|
|
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;
|
|
};
|
|
}
|