initial commit
This commit is contained in:
commit
1a8a6b7927
6 changed files with 175 additions and 0 deletions
27
libevhtp/default.nix
Normal file
27
libevhtp/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, fetchFromGitHub, lib,
|
||||
cmake,
|
||||
libevent,
|
||||
# optional:
|
||||
openssl, pth, oniguruma
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libevhtp";
|
||||
version = "1.2.15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ellzey";
|
||||
repo = "libevhtp";
|
||||
rev = version;
|
||||
sha256 = "01c4l77arph8qyrhak4ik6kf60wb5msymqmfl4w7gzmgns2n0p89";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libevent openssl pth oniguruma ];
|
||||
|
||||
meta = {
|
||||
description = "Create extremely-fast and secure embedded HTTP servers with ease.";
|
||||
homepage = "https://github.com/ellzey/libevhtp";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ schmittlauch ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue