bump ngtcp2

This commit is contained in:
Christian Ulrich 2021-08-17 22:15:49 +02:00
parent 4887ce953e
commit 52c19e648c
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
2 changed files with 3 additions and 17 deletions

View File

@ -8,19 +8,17 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ngtcp2"; pname = "ngtcp2";
version = "20210714"; version = "20210817";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ngtcp2"; owner = "ngtcp2";
repo = "ngtcp2"; repo = "ngtcp2";
rev = "7afbcff4b19b9d94ce49dfb7f9e092f7bef35f63"; rev = "5f87977119436c9f3e510af7fd1a6f47dcde04dc";
sha256 = "16ir8xrcszjm8822m4grb598nykj21pi31nj9yyqz72pyryl3m4z"; sha256 = "1nsqfqbl31w67hk8brbidys1si2fnlm2y4kscyhcykxll9hqw88p";
}; };
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
patches = [ ./gnutls_header.patch ];
configureFlags = [ configureFlags = [
"--with-gnutls" "--with-gnutls"
]; ];

View File

@ -1,12 +0,0 @@
diff --git a/crypto/includes/Makefile.am b/crypto/includes/Makefile.am
index 7e0589a3..56f29e34 100644
--- a/crypto/includes/Makefile.am
+++ b/crypto/includes/Makefile.am
@@ -26,3 +26,7 @@ nobase_include_HEADERS = ngtcp2/ngtcp2_crypto.h
if HAVE_OPENSSL
nobase_include_HEADERS += ngtcp2/ngtcp2_crypto_openssl.h
endif
+
+if HAVE_GNUTLS
+nobase_include_HEADERS += ngtcp2/ngtcp2_crypto_gnutls.h
+endif