mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
nghttp2: 1.61.0 -> 1.62.1
This commit is contained in:
parent
eb6aea88a0
commit
7b40ca9eb2
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user