mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
31 lines
718 B
Nix
31 lines
718 B
Nix
{ lib, stdenv, fetchFromGitHub, bison, libressl, libevent }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gmid";
|
|
version = "2.0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "omar-polo";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-xuA5yLtRu9GDrSr7FBlAwEjCjFVRmnOuBM62AHOHDhc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ bison ];
|
|
|
|
buildInputs = [ libressl libevent ];
|
|
|
|
configureFlags = [
|
|
"PREFIX=${placeholder "out"}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Simple and secure Gemini server";
|
|
homepage = "https://gmid.omarpolo.com/";
|
|
changelog = "https://gmid.omarpolo.com/changelog.html";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ sikmir ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|