diff --git a/pkgs/ngtcp2/default.nix b/pkgs/ngtcp2/default.nix index 018cac7..0fc33f9 100644 --- a/pkgs/ngtcp2/default.nix +++ b/pkgs/ngtcp2/default.nix @@ -8,19 +8,17 @@ stdenv.mkDerivation rec { pname = "ngtcp2"; - version = "20210714"; + version = "20210817"; src = fetchFromGitHub { owner = "ngtcp2"; repo = "ngtcp2"; - rev = "7afbcff4b19b9d94ce49dfb7f9e092f7bef35f63"; - sha256 = "16ir8xrcszjm8822m4grb598nykj21pi31nj9yyqz72pyryl3m4z"; + rev = "5f87977119436c9f3e510af7fd1a6f47dcde04dc"; + sha256 = "1nsqfqbl31w67hk8brbidys1si2fnlm2y4kscyhcykxll9hqw88p"; }; outputs = [ "out" "dev" ]; - patches = [ ./gnutls_header.patch ]; - configureFlags = [ "--with-gnutls" ]; diff --git a/pkgs/ngtcp2/gnutls_header.patch b/pkgs/ngtcp2/gnutls_header.patch deleted file mode 100644 index af1f65c..0000000 --- a/pkgs/ngtcp2/gnutls_header.patch +++ /dev/null @@ -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