lua*Packages.lua-yajl: init at 2.0-1
Dependency for mudlet >= 4.0
This commit is contained in:
parent
fc250d64e5
commit
2787d4160c
@ -54,6 +54,7 @@ luassert,,,,,
|
||||
luasystem,,,,,
|
||||
luautf8,,,,,pstn
|
||||
luazip,,,,,
|
||||
lua-yajl,,,,,pstn
|
||||
luuid,,,,,
|
||||
luv,,,,,
|
||||
markdown,,,,,
|
||||
|
|
@ -1145,6 +1145,26 @@ luazip = buildLuarocksPackage {
|
||||
};
|
||||
};
|
||||
};
|
||||
lua-yajl = buildLuarocksPackage {
|
||||
pname = "lua-yajl";
|
||||
version = "2.0-1";
|
||||
|
||||
src = fetchurl {
|
||||
url = https://luarocks.org/lua-yajl-2.0-1.src.rock;
|
||||
sha256 = "0bsm519vs53rchcdf8g96ygzdx2bz6pa4vffqlvc7ap49bg5np4f";
|
||||
};
|
||||
disabled = (luaOlder "5.1");
|
||||
propagatedBuildInputs = [ lua ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://github.com/brimworks/lua-yajl";
|
||||
description = "Integrate the yajl JSON library with Lua.";
|
||||
maintainers = with maintainers; [ pstn ];
|
||||
license = {
|
||||
fullName = "MIT/X11";
|
||||
};
|
||||
};
|
||||
};
|
||||
luuid = buildLuarocksPackage {
|
||||
pname = "luuid";
|
||||
version = "20120509-2";
|
||||
|
@ -235,6 +235,12 @@ with super;
|
||||
];
|
||||
});
|
||||
|
||||
lua-yajl = super.lua-yajl.override({
|
||||
buildInputs = [
|
||||
pkgs.yajl
|
||||
];
|
||||
});
|
||||
|
||||
luuid = super.luuid.override(old: {
|
||||
externalDeps = [
|
||||
{ name = "LIBUUID"; dep = pkgs.libuuid; }
|
||||
|
Loading…
Reference in New Issue
Block a user