ngtcp2: 0.17.0 -> 0.19.1

This commit is contained in:
Izorkin 2023-10-04 12:40:29 +03:00
parent 7239f0198e
commit 8f2bb72f11
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09

View file

@ -8,13 +8,13 @@
stdenv.mkDerivation rec {
pname = "ngtcp2";
version = "0.17.0";
version = "0.19.1";
src = fetchFromGitHub {
owner = "ngtcp2";
repo = pname;
rev = "v${version}";
hash = "sha256-vY3RooC8ttezru6vAqbG1MU5uZhD8fLnlEYVYS3pFRk=";
hash = "sha256-agiQRy/e5VS+ANxajXYi5huRjQQ2M8eddH/AzmwnHdQ==";
};
outputs = [ "out" "dev" "doc" ];
@ -27,13 +27,6 @@ stdenv.mkDerivation rec {
"-DENABLE_STATIC_LIB=OFF"
];
preConfigure = ''
# https://github.com/ngtcp2/ngtcp2/issues/858
# Fix ngtcp2_crypto_openssl remnants.
substituteInPlace crypto/includes/CMakeLists.txt \
--replace 'ngtcp2/ngtcp2_crypto_openssl.h' 'ngtcp2/ngtcp2_crypto_quictls.h'
'';
doCheck = true;
enableParallelBuilding = true;