mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
luaPackages.lua-resty-core: 0.1.32 -> 0.1.34rc3 (fix nixosTests.nginx-lua) (#554357)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user