1 { lib, stdenv, fetchFromGitHub
3 , brotli, libev, nghttp3, quictls
4 , withJemalloc ? false, jemalloc
8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
16 hash = "sha256-W9DLG9PXXuXe3rdtrbAvZZU2d7WsZ9vw/A6c3cFHBFM=";
17 fetchSubmodules = true;
20 outputs = [ "out" "dev" "doc" ];
22 nativeBuildInputs = [ cmake ];
28 ] ++ lib.optional withJemalloc jemalloc;
31 (lib.cmakeBool "ENABLE_STATIC_LIB" false)
41 homepage = "https://github.com/ngtcp2/ngtcp2";
42 description = "ngtcp2 project is an effort to implement QUIC protocol which is now being discussed in IETF QUICWG for its standardization";
43 license = licenses.mit;
44 platforms = platforms.unix;
45 maintainers = with maintainers; [ izorkin ];