gmid: init at 1.7.5
This commit is contained in:
parent
2810c8a6cc
commit
aa52a861a0
31
pkgs/servers/gemini/gmid/default.nix
Normal file
31
pkgs/servers/gemini/gmid/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchFromGitHub, bison, libressl, libevent }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gmid";
|
||||
version = "1.7.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "omar-polo";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-BBd0AL5jRRslxzDnxcTZRR+8J5D23NAQ7mp9K+leXAQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ bison ];
|
||||
|
||||
buildInputs = [ libressl libevent ];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
./configure PREFIX=$out
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple and secure Gemini server";
|
||||
homepage = "https://gmid.omarpolo.com/";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -1701,6 +1701,8 @@ with pkgs;
|
|||
|
||||
glasgow = with python3Packages; toPythonApplication glasgow;
|
||||
|
||||
gmid = callPackage ../servers/gemini/gmid { };
|
||||
|
||||
gmni = callPackage ../applications/networking/browsers/gmni { };
|
||||
|
||||
gmnisrv = callPackage ../servers/gemini/gmnisrv { };
|
||||
|
|
Loading…
Reference in a new issue