nghttp3: 1.1.0 -> 1.2.0

This commit is contained in:
Izorkin
2024-04-13 12:35:50 +03:00
parent 6f1f21b417
commit 128d8fb72d
@@ -1,31 +1,29 @@
{ lib, stdenv, fetchFromGitHub
, cmake
, cunit, ncurses
, curlHTTP3
}:
stdenv.mkDerivation rec {
pname = "nghttp3";
version = "1.1.0";
version = "1.2.0";
src = fetchFromGitHub {
owner = "ngtcp2";
repo = pname;
rev = "v${version}";
hash = "sha256-B/5r0mRpOEi5DQ7OUAAcDmAm1nnak6qNz4qjDrzWlDc=";
hash = "sha256-kJt4aQGNiJ0XhlEKunR8jYKytv3rh23jRrNelCDe/Kk=";
fetchSubmodules = true;
};
outputs = [ "out" "dev" "doc" ];
nativeBuildInputs = [ cmake ];
nativeCheckInputs = [ cunit ncurses ];
cmakeFlags = [
"-DENABLE_STATIC_LIB=OFF"
(lib.cmakeBool "ENABLE_STATIC_LIB" false)
];
doCheck = true;
enableParallelBuilding = true;
passthru.tests = {
inherit curlHTTP3;