diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix index 9c5feef4be0b..758b713c854a 100644 --- a/pkgs/servers/http/nginx/generic.nix +++ b/pkgs/servers/http/nginx/generic.nix @@ -314,6 +314,7 @@ stdenv.mkDerivation { mainProgram = "nginx"; homepage = "http://nginx.org"; license = [ licenses.bsd2 ] ++ concatMap (m: m.meta.license) modules; + broken = lib.any (m: m.meta.broken or false) modules; platforms = platforms.all; maintainers = with maintainers; diff --git a/pkgs/servers/http/nginx/modules.nix b/pkgs/servers/http/nginx/modules.nix index 2565cfc465e6..fd1bdf92d40b 100644 --- a/pkgs/servers/http/nginx/modules.nix +++ b/pkgs/servers/http/nginx/modules.nix @@ -4,6 +4,7 @@ , fetchFromGitLab , fetchhg , runCommand +, stdenv , arpa2common , brotli @@ -1019,6 +1020,25 @@ let self = { }; }; + zip = { + name = "zip"; + src = fetchFromGitHub { + name = "zip"; + owner = "evanmiller"; + repo = "mod_zip"; + rev = "8e65b82c82c7890f67a6107271c127e9881b6313"; + hash = "sha256-2bUyGsLSaomzaijnAcHQV9TNSuV7Z3G9EUbrZzLG+mk="; + }; + + meta = with lib; { + description = "Streaming ZIP archiver for nginx"; + homepage = "https://github.com/evanmiller/mod_zip"; + license = with licenses; [ bsd3 ]; + broken = stdenv.hostPlatform.isDarwin; + maintainers = teams.apm.members; + }; + }; + zstd = { name = "zstd"; src = fetchFromGitHub {