lol
1{ stdenv, fetchFromGitHub, cmake, openssl, libevent }:
2
3stdenv.mkDerivation rec {
4 name = "libevhtp-${version}";
5 version = "1.2.10";
6
7 src = fetchFromGitHub {
8 owner = "ellzey";
9 repo = "libevhtp";
10 rev = version;
11 sha256 = "0z5cxa65zp89vkaj286gp6fpmc5fylr8bmd17g3j1rgc42nysm6a";
12 };
13
14 buildInputs = [ cmake openssl libevent ];
15
16 buildPhase = "cmake";
17
18 meta = with stdenv.lib; {
19 description = "A more flexible replacement for libevent's httpd API";
20 homepage = "https://github.com/ellzey/libevhtp";
21 license = licenses.bsd3;
22 maintainers = with maintainers; [ edwtjo ];
23 platforms = platforms.linux;
24 };
25}