blob: 4765f0b7d9af080cf15caa13a09031f469fd8d61 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ stdenv, fetchFromGitHub, cmake, openssl, libevent }:
stdenv.mkDerivation rec {
name = "libevhtp-${version}";
version = "1.2.11";
src = fetchFromGitHub {
owner = "ellzey";
repo = "libevhtp";
rev = version;
sha256 = "1rlxdp8w4alcy5ryr7pmw5wi6hv7d64885wwbk1zxhvi64s4x4rg";
};
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;
};
}
|