angie: 1.7.0 -> 1.8.0
This commit is contained in:
@@ -9,12 +9,12 @@
|
||||
}@args:
|
||||
|
||||
callPackage ../nginx/generic.nix args rec {
|
||||
version = "1.7.0";
|
||||
version = "1.8.0";
|
||||
pname = if withQuic then "angieQuic" else "angie";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.angie.software/files/angie-${version}.tar.gz";
|
||||
hash = "sha256-B5fm4BgV/bMLvJ9wOAA4fJyLLGARManDlQmjPXPyHAE=";
|
||||
hash = "sha256-UbAylZB0ukki5AZ7XUgSLIQHekT3h8IqLyy/c/mBGwE=";
|
||||
};
|
||||
|
||||
configureFlags =
|
||||
|
||||
@@ -222,14 +222,21 @@ stdenv.mkDerivation {
|
||||
})
|
||||
./nix-skip-check-logs-path.patch
|
||||
]
|
||||
++ lib.optionals (pname != "openresty") [
|
||||
# https://github.com/NixOS/nixpkgs/issues/357522
|
||||
# https://github.com/zlib-ng/patches/blob/5a036c0a00120c75ee573b27f4f44ade80d82ff2/nginx/README.md
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/zlib-ng/patches/38756e6325a5d2cc32709b8e9549984c63a78815/nginx/1.26.2-zlib-ng.patch";
|
||||
hash = "sha256-LX5kP6jFiqgt4ApKw5eqOAFJNkc5QI6kX8ZRvBYTi9k=";
|
||||
})
|
||||
]
|
||||
++
|
||||
lib.optionals
|
||||
(lib.elem pname [
|
||||
"nginx"
|
||||
"nginxQuic"
|
||||
"tengine"
|
||||
])
|
||||
[
|
||||
# https://github.com/NixOS/nixpkgs/issues/357522
|
||||
# https://github.com/zlib-ng/patches/blob/5a036c0a00120c75ee573b27f4f44ade80d82ff2/nginx/README.md
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/zlib-ng/patches/38756e6325a5d2cc32709b8e9549984c63a78815/nginx/1.26.2-zlib-ng.patch";
|
||||
hash = "sha256-LX5kP6jFiqgt4ApKw5eqOAFJNkc5QI6kX8ZRvBYTi9k=";
|
||||
})
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/openwrt/packages/c057dfb09c7027287c7862afab965a4cd95293a3/net/nginx/patches/102-sizeof_test_fix.patch";
|
||||
|
||||
@@ -1614,6 +1614,7 @@ with pkgs;
|
||||
android-tools = lowPrio (darwin.apple_sdk_11_0.callPackage ../tools/misc/android-tools { });
|
||||
|
||||
angie = callPackage ../servers/http/angie {
|
||||
zlib-ng = zlib-ng.override { withZlibCompat = true; };
|
||||
withPerl = false;
|
||||
# We don't use `with` statement here on purpose!
|
||||
# See https://github.com/NixOS/nixpkgs/pull/10474#discussion_r42369334
|
||||
@@ -1621,6 +1622,7 @@ with pkgs;
|
||||
};
|
||||
|
||||
angieQuic = callPackage ../servers/http/angie {
|
||||
zlib-ng = zlib-ng.override { withZlibCompat = true; };
|
||||
withPerl = false;
|
||||
withQuic = true;
|
||||
# We don't use `with` statement here on purpose!
|
||||
|
||||
Reference in New Issue
Block a user