nghttp2: 1.61.0 -> 1.62.1

This commit is contained in:
R. Ryantm 2024-05-24 15:51:45 +00:00 committed by Weijia Wang
parent eb6aea88a0
commit 7b40ca9eb2

View File

@ -32,11 +32,11 @@ assert enableJemalloc -> enableApp;
stdenv.mkDerivation rec {
pname = "nghttp2";
version = "1.61.0";
version = "1.62.1";
src = fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2";
sha256 = "sha256-Toz37DLUxaQwlmJC1yA10lXNlHCodm1h7tegGQ3VRP0=";
sha256 = "sha256-OWbsgv2n/DgFBtNyomDY2bbpRr5N6u8f7MGnS0gJrj0=";
};
outputs = [ "out" "dev" "lib" "doc" "man" ];
@ -60,6 +60,10 @@ stdenv.mkDerivation rec {
(lib.enableFeature enableHttp3 "http3")
];
env.NIX_CFLAGS_COMPILE = toString (lib.optionals (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "10.13") [
"-faligned-allocation"
]);
# Unit tests require CUnit and setting TZDIR environment variable
doCheck = enableTests;
nativeCheckInputs = lib.optionals (enableTests) [ cunit tzdata ];