2015-03-11 18:06:13 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, openssl, libevent }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libevhtp-${version}";
|
2015-11-10 07:20:20 +00:00
|
|
|
version = "1.2.11";
|
2015-03-11 18:06:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ellzey";
|
|
|
|
repo = "libevhtp";
|
|
|
|
rev = version;
|
2015-11-10 07:20:20 +00:00
|
|
|
sha256 = "1rlxdp8w4alcy5ryr7pmw5wi6hv7d64885wwbk1zxhvi64s4x4rg";
|
2015-03-11 18:06:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|