Files
nixpkgs/pkgs/servers/http/nginx/modules/lua-upstream/package.nix
Maximilian Bosch ea6542782d nixos/nginx: generally turn off MemoryDenyWriteExecute
See #384302 for the issues associated with it.
2026-08-07 21:01:30 +02:00

30 lines
672 B
Nix

{
fetchFromGitHub,
lib,
luajit_openresty,
mkNginxPlugin,
}:
mkNginxPlugin (finalAttrs: {
pname = "lua-upstream";
version = "0.07";
src = fetchFromGitHub {
name = "lua-upstream";
owner = "openresty";
repo = "lua-upstream-nginx-module";
tag = "v${finalAttrs.version}";
hash = "sha256-886qZB6gTOyWW0riMgQ8osrF3Q/7DxBSHJHmqNBjDL8=";
};
buildInputs = [ luajit_openresty ];
meta = {
description = "Expose Lua API to ngx_lua for Nginx upstreams";
homepage = "https://github.com/openresty/lua-upstream-nginx-module";
license = lib.licenses.bsd2;
maintainers = [ ];
broken = true; # Build against nginx fails
};
})