luaPlugins.lua-resty-lrucache: init at 0.13
This commit is contained in:
parent
861c7554d1
commit
40ff955c07
1 changed files with 20 additions and 1 deletions
|
@ -30,7 +30,7 @@ let
|
|||
lib.concatMapStringsSep ";" (path: "${drv}/${path}") pathListForVersion;
|
||||
|
||||
in
|
||||
{
|
||||
rec {
|
||||
|
||||
# Dont take luaPackages from "global" pkgs scope to avoid mixing lua versions
|
||||
luaPackages = self;
|
||||
|
@ -59,6 +59,25 @@ in
|
|||
# a fork of luarocks used to generate nix lua derivations from rockspecs
|
||||
luarocks-nix = callPackage ../development/tools/misc/luarocks/luarocks-nix.nix { };
|
||||
|
||||
lua-resty-lrucache = callPackage ({ fetchFromGitHub }: buildLuaPackage rec {
|
||||
pname = "lua-resty-lrucache";
|
||||
version = "0.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openresty";
|
||||
repo = "lua-resty-lrucache";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-J8RNAMourxqUF8wPKd8XBhNwGC/x1KKvrVnZtYDEu4Q=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lua-land LRU Cache based on LuaJIT FFI";
|
||||
homepage = "https://github.com/openresty/lua-resty-lrucache";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}) {};
|
||||
|
||||
luxio = callPackage ({ fetchurl, which, pkg-config }: buildLuaPackage rec {
|
||||
pname = "luxio";
|
||||
version = "13";
|
||||
|
|
Loading…
Reference in a new issue