kcgi: init -> 0.10.5
This commit is contained in:
parent
d1ad5bf95d
commit
1a611d4f4e
33
pkgs/development/web/kcgi/default.nix
Normal file
33
pkgs/development/web/kcgi/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, pkgconfig, fetchFromGitHub, libbsd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kcgi";
|
||||
version = "0.10.5";
|
||||
underscoreVersion = stdenv.lib.replaceChars ["."] ["_"] version;
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kristapsdz";
|
||||
repo = pname;
|
||||
rev = "VERSION_${underscoreVersion}";
|
||||
sha256 = "0ksdjqibkj7h1a99i84i6y0949c0vwx789q0sslzdkkgqvjnw3xw";
|
||||
};
|
||||
patchPhase = ''substituteInPlace configure \
|
||||
--replace /usr/local /
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ ] ++ stdenv.lib.optionals stdenv.isLinux [ libbsd ] ;
|
||||
|
||||
dontAddPrefix = true;
|
||||
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://kristaps.bsd.lv/kcgi;
|
||||
description = "Minimal CGI and FastCGI library for C/C++";
|
||||
license = licenses.isc;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.leenaars ];
|
||||
};
|
||||
}
|
@ -8030,6 +8030,8 @@ with pkgs;
|
||||
gperf = gperf_3_0;
|
||||
};
|
||||
|
||||
kcgi = callPackage ../development/web/kcgi { };
|
||||
|
||||
kcov = callPackage ../development/tools/analysis/kcov { };
|
||||
|
||||
kube-aws = callPackage ../development/tools/kube-aws { };
|
||||
|
Loading…
Reference in New Issue
Block a user