initial commit

This commit is contained in:
Trolli Schmittlauch 2019-10-09 00:53:54 +02:00
commit 1a8a6b7927
6 changed files with 175 additions and 0 deletions

27
libevhtp/default.nix Normal file
View 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 ];
};
}