1 { lib, stdenv, fetchFromGitHub
3 , libev, nghttp3, quictls
5 , withJemalloc ? false, jemalloc
8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
16 sha256 = "sha256-zDiJlwcDTLCU+WpJ6Jz6tve4oV+XMRYOtppC2fj/HgU=";
19 outputs = [ "out" "dev" "doc" ];
21 nativeBuildInputs = [ cmake ];
22 buildInputs = [ libev nghttp3 quictls ] ++ lib.optional withJemalloc jemalloc;
23 checkInputs = [ cunit ncurses ];
26 "-DENABLE_STATIC_LIB=OFF"
30 enableParallelBuilding = true;
33 homepage = "https://github.com/ngtcp2/ngtcp2";
34 description = "ngtcp2 project is an effort to implement QUIC protocol which is now being discussed in IETF QUICWG for its standardization.";
35 license = licenses.mit;
36 platforms = platforms.unix;
37 maintainers = with maintainers; [ izorkin ];