luaPlugins.lua-resty-core: init at 0.1.24

This commit is contained in:
Sandro Jäckel 2022-12-19 08:43:32 +01:00
parent 40ff955c07
commit e33fb7418d
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -59,6 +59,27 @@ rec {
# a fork of luarocks used to generate nix lua derivations from rockspecs
luarocks-nix = callPackage ../development/tools/misc/luarocks/luarocks-nix.nix { };
lua-resty-core = callPackage ({ fetchFromGitHub }: buildLuaPackage rec {
pname = "lua-resty-core";
version = "0.1.24";
src = fetchFromGitHub {
owner = "openresty";
repo = "lua-resty-core";
rev = "v${version}";
sha256 = "sha256-obwyxHSot1Lb2c1dNqJor3inPou+UIBrqldbkNBCQQk=";
};
propagatedBuildInputs = [ lua-resty-lrucache ];
meta = with lib; {
description = "New FFI-based API for lua-nginx-module";
homepage = "https://github.com/openresty/lua-resty-core";
license = licenses.bsd3;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}) {};
lua-resty-lrucache = callPackage ({ fetchFromGitHub }: buildLuaPackage rec {
pname = "lua-resty-lrucache";
version = "0.13";