ngtcp2: 0.4.0 -> 0.5.0

This commit is contained in:
Izorkin 2022-05-19 22:41:24 +03:00
parent 6c09d5de93
commit 10fbc4fdc6
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09

View file

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