1 { stdenv, lib, fetchFromGitHub, cmake, libevent }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2021-04-28";
7 src = fetchFromGitHub {
10 rev = "18c649203f009ef1d77d6f8301eba09af3777adf";
11 sha256 = "1rf0jcy2lf8jbzpkhfgv289hc8zdy5zs6sn36k4vlqvilginxiid";
14 nativeBuildInputs = [ cmake ];
16 buildInputs = [ libevent ];
19 "-DEVHTP_DISABLE_SSL=ON"
20 "-DEVHTP_BUILD_SHARED=ON"
24 description = "Create extremely-fast and secure embedded HTTP servers with ease";
25 homepage = "https://github.com/criticalstack/libevhtp";
26 license = licenses.bsd3;
27 maintainers = with maintainers; [ greizgh schmittlauch ];