luaPackages.lua-resty-core: 0.1.32 -> 0.1.34rc3 (fix nixosTests.nginx-lua) (#554357)

This commit is contained in:
Leona Maroni
2026-08-21 20:42:22 +00:00
committed by GitHub
3 changed files with 12 additions and 4 deletions

View File

@@ -6,13 +6,13 @@
}:
callPackage ./default.nix rec {
version = "2.1-20251030";
version = "2.1-20260724";
src = fetchFromGitHub {
owner = "openresty";
repo = "luajit2";
rev = "v${version}";
hash = "sha256-SICmM+/dvp/36UAWAH0l7D938iFDimnoKBOjlOodrCY=";
hash = "sha256-cvy9FgHWFuacCFl7/conLwNuMgaol1LnIUiqcnXy9H8=";
};
extraMeta = {

View File

@@ -3,10 +3,13 @@
lib,
luajit_openresty,
mkNginxPlugin,
nixosTests,
}:
mkNginxPlugin (finalAttrs: {
pname = "lua";
# The version needs to fit to lua-resty-core.
# Adapt both.
version = "0.10.31";
src = fetchFromGitHub {
@@ -25,6 +28,10 @@ mkNginxPlugin (finalAttrs: {
allowMemoryWriteExecute = true;
passthru.tests = {
inherit (nixosTests) nginx-lua;
};
meta = {
description = "Embed the Power of Lua";
homepage = "https://github.com/openresty/lua-nginx-module";

View File

@@ -165,13 +165,14 @@ rec {
{ fetchFromGitHub }:
buildLuaPackage rec {
pname = "lua-resty-core";
version = "0.1.32";
# The version needs to fit to nginxModules.lua
version = "0.1.34rc3";
src = fetchFromGitHub {
owner = "openresty";
repo = "lua-resty-core";
rev = "v${version}";
sha256 = "sha256-ba/ahIl8BDfyXIbaN6zVCh3UwY6JbAqqZEpXktOfeYo=";
sha256 = "sha256-+rtbaHEqKSvaba+zZwRUnUsdu3Jndi8OVGUtFC55Fts=";
};
propagatedBuildInputs = [ lua-resty-lrucache ];