libevhtp: added package

This commit is contained in:
Edward Tjörnhammar 2015-03-11 19:06:13 +01:00
parent ec77aca091
commit 3d2604a8b6
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, cmake, openssl, libevent }:
stdenv.mkDerivation rec {
name = "libevhtp-${version}";
version = "1.2.10";
src = fetchFromGitHub {
owner = "ellzey";
repo = "libevhtp";
rev = version;
sha256 = "0z5cxa65zp89vkaj286gp6fpmc5fylr8bmd17g3j1rgc42nysm6a";
};
buildInputs = [ cmake openssl libevent ];
buildPhase = "cmake";
meta = with stdenv.lib; {
description = "A more flexible replacement for libevent's httpd API";
homepage = "https://github.com/ellzey/libevhtp";
license = licenses.bsd3;
maintainers = with maintainers; [ edwtjo ];
platforms = platforms.linux;
};
}

View File

@ -1761,6 +1761,8 @@ let
libevdev = callPackage ../development/libraries/libevdev { };
libevhtp = callPackage ../development/libraries/libevhtp { };
liboauth = callPackage ../development/libraries/liboauth { };
libtidy = callPackage ../development/libraries/libtidy { };