lua*Packages.lua-yajl: init at 2.0-1

Dependency for mudlet >= 4.0
This commit is contained in:
Philipp 2019-09-05 20:04:27 +02:00 committed by Matthieu Coudron
parent fc250d64e5
commit 2787d4160c
3 changed files with 27 additions and 0 deletions

View File

@ -54,6 +54,7 @@ luassert,,,,,
luasystem,,,,,
luautf8,,,,,pstn
luazip,,,,,
lua-yajl,,,,,pstn
luuid,,,,,
luv,,,,,
markdown,,,,,

1 # nix name luarocks name server version luaversion maintainers
54 luasystem
55 luautf8 pstn
56 luazip
57 lua-yajl pstn
58 luuid
59 luv
60 markdown

View File

@ -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";

View File

@ -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; }