Merge pull request #173667 from Izorkin/update-http3-libs

Update http3 libraries
main
Sandro 2 years ago committed by GitHub
commit 4203326202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      pkgs/development/libraries/nghttp3/default.nix
  2. 12
      pkgs/development/libraries/ngtcp2/default.nix
  3. 8
      pkgs/development/libraries/quictls/default.nix

@ -1,19 +1,21 @@
{ lib, stdenv, fetchFromGitHub { lib, stdenv, fetchFromGitHub
, autoreconfHook, pkg-config , autoreconfHook, pkg-config, file
, cunit, file, ncurses , cunit, ncurses
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nghttp3"; pname = "nghttp3";
version = "0.4.0"; version = "0.4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ngtcp2"; owner = "ngtcp2";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-toGTkgJLdSLNWCPJFpT63IxF3xANbvtkhJo5NUg/ZBg="; sha256 = "sha256-1+0ln0J8dqHqmE+fsawhbfbbMNlCkDpJx4xomUuoHdE=";
}; };
outputs = [ "out" "dev" "doc" ];
nativeBuildInputs = [ autoreconfHook pkg-config file ]; nativeBuildInputs = [ autoreconfHook pkg-config file ];
checkInputs = [ cunit ncurses ]; checkInputs = [ cunit ncurses ];
@ -21,8 +23,6 @@ stdenv.mkDerivation rec {
substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file
''; '';
outputs = [ "out" "dev" ];
doCheck = true; doCheck = true;
enableParallelBuilding = true; enableParallelBuilding = true;

@ -1,21 +1,23 @@
{ lib, stdenv, fetchFromGitHub { lib, stdenv, fetchFromGitHub
, autoreconfHook, pkg-config , autoreconfHook, pkg-config, file
, cunit, file, ncurses
, libev, nghttp3, quictls , libev, nghttp3, quictls
, cunit, ncurses
, withJemalloc ? false, jemalloc , withJemalloc ? false, jemalloc
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ngtcp2"; pname = "ngtcp2";
version = "0.4.0"; version = "0.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ngtcp2"; owner = "ngtcp2";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-nmVVK2lpz01hgSxPAMmBfF+nNVZu9PWRGzCWh/5yhj8="; sha256 = "sha256-hpIGsQBJCOyaEqopdES/hRXc2makIERonUju9D/HvgE=";
}; };
outputs = [ "out" "dev" "doc" ];
nativeBuildInputs = [ autoreconfHook pkg-config file ]; nativeBuildInputs = [ autoreconfHook pkg-config file ];
buildInputs = [ libev nghttp3 quictls ] ++ lib.optional withJemalloc jemalloc; buildInputs = [ libev nghttp3 quictls ] ++ lib.optional withJemalloc jemalloc;
checkInputs = [ cunit ncurses ]; checkInputs = [ cunit ncurses ];
@ -24,8 +26,6 @@ stdenv.mkDerivation rec {
substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file
''; '';
outputs = [ "out" "dev" ];
doCheck = true; doCheck = true;
enableParallelBuilding = true; enableParallelBuilding = true;

@ -11,13 +11,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "quictls"; pname = "quictls";
version = "3.0.2+quick_unstable-2022-03.15"; version = "3.0.3+quick_unstable-2022-05.04";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "quictls"; owner = "quictls";
repo = "openssl"; repo = "openssl";
rev = "7f2ab56a2b842b8e6fefc7b9d20eb5ff9c6ef151"; rev = "368c9d581b17f0bbe425f8dedeaa7b864a7b29ce";
sha256 = "sha256-We4ow0mGJFXqYM4PqbGn8qY5IYH/MtNaefrSaJreoRA="; sha256 = "sha256-W3bILxhyeziWQNZUHUg/D9eV8LnmHJqEFwyzWjJrRuc=";
}; };
patches = [ patches = [
@ -156,7 +156,7 @@ stdenv.mkDerivation rec {
''; '';
meta = with lib; { meta = with lib; {
homepage = "https://quictls.github.io/openssl/"; homepage = "https://quictls.github.io";
description = "TLS/SSL and crypto library with QUIC APIs"; description = "TLS/SSL and crypto library with QUIC APIs";
license = licenses.openssl; license = licenses.openssl;
platforms = platforms.all; platforms = platforms.all;

Loading…
Cancel
Save