Browse Source

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

Dependency for mudlet >= 4.0
nixos-unstable
Philipp 3 years ago committed by Matthieu Coudron
parent
commit
2787d4160c
  1. 1
      maintainers/scripts/luarocks-packages.csv
  2. 20
      pkgs/development/lua-modules/generated-packages.nix
  3. 6
      pkgs/development/lua-modules/overrides.nix

1
maintainers/scripts/luarocks-packages.csv

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

20
pkgs/development/lua-modules/generated-packages.nix

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

6
pkgs/development/lua-modules/overrides.nix

@ -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…
Cancel
Save