{ autoreconfHook , lib , stdenv , fetchFromGitHub , gnutls-latest , pkgconfig }: stdenv.mkDerivation rec { pname = "ngtcp2"; version = "20210818"; src = fetchFromGitHub { owner = "ngtcp2"; repo = "ngtcp2"; rev = "2b75b57708fd865db4c1b8167714865242e2f3e4"; sha256 = "0gwpmfacx3cd2a3d7yv041zd58qncill1ykj3jsvm54ab00qy8fa"; }; outputs = [ "out" "dev" ]; configureFlags = [ "--with-gnutls" ]; nativeBuildInputs = [ autoreconfHook pkgconfig ]; buildInputs = [ gnutls-latest ]; meta = with lib; { description = "ngtcp2 project is an effort to implement IETF QUIC protocol"; homepage = https://github.com/ngtcp2/ngtcp2; license = licenses.mit; maintainers = with maintainers; [ royneary ]; platforms = platforms.linux; }; }