summary refs log tree commit diff
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2023-06-08 11:25:55 +0300
committerIzorkin <izorkin@elven.pw>2023-07-27 15:32:07 +0300
commit01234fa16fdb2eee8ccc52f8310c9354c214734f (patch)
treeb7aedd8b8d57aa34d65b69af72e0ab11b820e2fa
parent433ca822324e45d3f9267e3f7a2cc90e0e66bf04 (diff)
downloadnixpkgs-01234fa16fdb2eee8ccc52f8310c9354c214734f.tar
nixpkgs-01234fa16fdb2eee8ccc52f8310c9354c214734f.tar.gz
nixpkgs-01234fa16fdb2eee8ccc52f8310c9354c214734f.tar.bz2
nixpkgs-01234fa16fdb2eee8ccc52f8310c9354c214734f.tar.lz
nixpkgs-01234fa16fdb2eee8ccc52f8310c9354c214734f.tar.xz
nixpkgs-01234fa16fdb2eee8ccc52f8310c9354c214734f.tar.zst
nixpkgs-01234fa16fdb2eee8ccc52f8310c9354c214734f.zip
ngtcp2: 0.15.0 -> 0.17.0
-rw-r--r--pkgs/development/libraries/ngtcp2/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/development/libraries/ngtcp2/default.nix b/pkgs/development/libraries/ngtcp2/default.nix
index e85a7674a26..9bfd3324242 100644
--- a/pkgs/development/libraries/ngtcp2/default.nix
+++ b/pkgs/development/libraries/ngtcp2/default.nix
@@ -8,13 +8,13 @@
 
 stdenv.mkDerivation rec {
   pname = "ngtcp2";
-  version = "0.15.0";
+  version = "0.17.0";
 
   src = fetchFromGitHub {
     owner = "ngtcp2";
     repo = pname;
     rev = "v${version}";
-    hash = "sha256-FWNWpRuCUyqTIyLZkBFKrd2urjSCqHp20mBAXOcJm14=";
+    hash = "sha256-vY3RooC8ttezru6vAqbG1MU5uZhD8fLnlEYVYS3pFRk=";
   };
 
   outputs = [ "out" "dev" "doc" ];
@@ -27,6 +27,13 @@ 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;