nixpkgs/pkgs/development/lua-modules/generated-packages.nix
Matthieu Coudron 2ba891788b Lua generate nix packages from luarocks (#54978)
* lua: generate packages from luarocks

* luarocks-nix: update

* removed packages already available in nixpkgs

* adressing reviews

update script can now accept another csv file as input with -c

* Remove obsolete comment
2019-02-04 11:30:58 +00:00

482 lines
13 KiB
Nix

/* pkgs/development/lua-modules/generated-packages.nix is an auto-generated file -- DO NOT EDIT!
Regenerate it with:
nixpkgs$ maintainers/scripts/update-luarocks-packages pkgs/development/lua-modules/generated-packages.nix
These packages are manually refined in lua-overrides.nix
*/
{ self, lua, stdenv, fetchurl, fetchgit, pkgs, ... } @ args:
self: super:
with self;
{
ansicolors = buildLuarocksPackage {
pname = "ansicolors";
version = "1.0.2-3";
src = fetchurl {
url = https://luarocks.org/ansicolors-1.0.2-3.src.rock;
sha256 = "1mhmr090y5394x1j8p44ws17sdwixn5a0r4i052bkfgk3982cqfz";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "https://github.com/kikito/ansicolors.lua";
description="Library for color Manipulation.";
license = {
fullName = "MIT <http://opensource.org/licenses/MIT>";
};
};
};
argparse = buildLuarocksPackage {
pname = "argparse";
version = "0.6.0-1";
src = fetchurl {
url = https://luarocks.org/argparse-0.6.0-1.src.rock;
sha256 = "10ic5wppyghd1lmgwgl0lb40pv8z9fi9i87080axxg8wsr19y0p4";
};
disabled = ( luaOlder "5.1") || ( luaAtLeast "5.4");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "https://github.com/mpeterv/argparse";
description="A feature-rich command-line argument parser";
license = {
fullName = "MIT";
};
};
};
dkjson = buildLuarocksPackage {
pname = "dkjson";
version = "2.5-2";
src = fetchurl {
url = https://luarocks.org/dkjson-2.5-2.src.rock;
sha256 = "1qy9bzqnb9pf9d48hik4iq8h68aw3270kmax7mmpvvpw7kkyp483";
};
disabled = ( luaOlder "5.1") || ( luaAtLeast "5.4");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "http://dkolf.de/src/dkjson-lua.fsl/";
description="David Kolf's JSON module for Lua";
license = {
fullName = "MIT/X11";
};
};
};
lrexlib-gnu = buildLuarocksPackage {
pname = "lrexlib-gnu";
version = "2.9.0-1";
src = fetchurl {
url = https://luarocks.org/lrexlib-gnu-2.9.0-1.src.rock;
sha256 = "036rda4rji1pbnbxk1nzjy5zmigdsiacqbzrbvciwq3lrxa2j5s2";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "http://github.com/rrthomas/lrexlib";
description="Regular expression library binding (GNU flavour).";
license = {
fullName = "MIT/X11";
};
};
};
lrexlib-posix = buildLuarocksPackage {
pname = "lrexlib-posix";
version = "2.9.0-1";
src = fetchurl {
url = https://luarocks.org/lrexlib-posix-2.9.0-1.src.rock;
sha256 = "0ifpybf4m94g1nk70l0f5m45gph0rbp5wrxrl1hnw8ibv3mc1b1r";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "http://github.com/rrthomas/lrexlib";
description="Regular expression library binding (POSIX flavour).";
license = {
fullName = "MIT/X11";
};
};
};
ltermbox = buildLuarocksPackage {
pname = "ltermbox";
version = "0.2-1";
src = fetchurl {
url = https://luarocks.org/ltermbox-0.2-1.src.rock;
sha256 = "08jqlmmskbi1ml1i34dlmg6hxcs60nlm32dahpxhcrgjnfihmyn8";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "http://code.google.com/p/termbox";
description="A termbox library package";
license = {
fullName = "New BSD License";
};
};
};
lua-cmsgpack = buildLuarocksPackage {
pname = "lua-cmsgpack";
version = "0.4.0-0";
knownRockspec = ( fetchurl {
url = https://luarocks.org/lua-cmsgpack-0.4.0-0.rockspec;
sha256 = "10cvr6knx3qvjcw1q9v05f2qy607mai7lbq321nx682aa0n1fzin";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "git://github.com/antirez/lua-cmsgpack.git",
"rev": "57b1f90cf6cec46450e87289ed5a676165d31071",
"date": "2018-06-14T11:56:56+02:00",
"sha256": "0yiwl4p1zh9qid3ksc4n9fv5bwaa9vjb0vgwnkars204xmxdj8fj",
"fetchSubmodules": true
}
'') ["date"]) ;
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "http://github.com/antirez/lua-cmsgpack";
description="MessagePack C implementation and bindings for Lua 5.1/5.2/5.3";
license = {
fullName = "Two-clause BSD";
};
};
};
lua_cliargs = buildLuarocksPackage {
pname = "lua_cliargs";
version = "3.0-2";
src = fetchurl {
url = https://luarocks.org/lua_cliargs-3.0-2.src.rock;
sha256 = "0qqdnw00r16xbyqn4w1xwwpg9i9ppc3c1dcypazjvdxaj899hy9w";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "https://github.com/amireh/lua_cliargs";
description="A command-line argument parser.";
license = {
fullName = "MIT <http://opensource.org/licenses/MIT>";
};
};
};
lua-term = buildLuarocksPackage {
pname = "lua-term";
version = "0.7-1";
knownRockspec = ( fetchurl {
url = https://luarocks.org/lua-term-0.7-1.rockspec;
sha256 = "0r9g5jw7pqr1dyj6w58dqlr7y7l0jp077n8nnji4phf10biyrvg2";
}).outPath;
src = fetchurl {
url = https://github.com/hoelzro/lua-term/archive/0.07.tar.gz;
sha256 = "0c3zc0cl3a5pbdn056vnlan16g0wimv0p9bq52h7w507f72x18f1";
};
buildType="builtin";
meta = {
homepage = "https://github.com/hoelzro/lua-term";
description="Terminal functions for Lua";
license = {
fullName = "MIT/X11";
};
};
};
luaffi = buildLuarocksPackage {
pname = "luaffi";
version = "scm-1";
src = fetchurl {
url = http://luarocks.org/dev/luaffi-scm-1.src.rock;
sha256 = "0dia66w8sgzw26bwy36gzyb2hyv7kh9n95lh5dl0158rqa6fsf26";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "https://github.com/facebook/luaffifb";
description="FFI library for calling C functions from lua";
license = {
fullName = "BSD";
};
};
};
luuid = buildLuarocksPackage {
pname = "luuid";
version = "20120509-2";
src = fetchurl {
url = https://luarocks.org/luuid-20120509-2.src.rock;
sha256 = "08q54x0m51w89np3n117h2a153wsgv3qayabd8cz6i55qm544hkg";
};
disabled = ( luaOlder "5.2") || ( luaAtLeast "5.4");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#luuid";
description="A library for UUID generation";
license = {
fullName = "Public domain";
};
};
};
penlight = buildLuarocksPackage {
pname = "penlight";
version = "1.5.4-1";
knownRockspec = ( fetchurl {
url = https://luarocks.org/penlight-1.5.4-1.rockspec;
sha256 = "07mhsk9kmdxg4i2w4mrnnd2zs34bgggi9gigfplakxin96sa6c0p";
}).outPath;
src = fetchurl {
url = http://stevedonovan.github.io/files/penlight-1.5.4.zip;
sha256 = "138f921p6kdqkmf4pz115phhj0jsqf28g33avws80d2vq2ixqm8q";
};
propagatedBuildInputs = [luafilesystem ];
buildType="builtin";
meta = {
homepage = "http://stevedonovan.github.com/Penlight";
description="Lua utility libraries loosely based on the Python standard libraries";
license = {
fullName = "MIT/X11";
};
};
};
say = buildLuarocksPackage {
pname = "say";
version = "1.3-1";
knownRockspec = ( fetchurl {
url = https://luarocks.org/say-1.3-1.rockspec;
sha256 = "0bknglb0qwd6r703wp3hcb6z2xxd14kq4md3sg9al3b28fzxbhdv";
}).outPath;
src = fetchurl {
url = https://github.com/Olivine-Labs/say/archive/v1.3-1.tar.gz;
sha256 = "1jh76mxq9dcmv7kps2spwcc6895jmj2sf04i4y9idaxlicvwvs13";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "http://olivinelabs.com/busted/";
description="Lua String Hashing/Indexing Library";
license = {
fullName = "MIT <http://opensource.org/licenses/MIT>";
};
};
};
luv = buildLuarocksPackage {
pname = "luv";
version = "1.22.0-1";
knownRockspec = ( fetchurl {
url = https://luarocks.org/luv-1.22.0-1.rockspec;
sha256 = "0yxjy9wj4aqbv1my8fkciy2xar5si6bcsszipgyls24rl6lnmga3";
}).outPath;
src = fetchurl {
url = https://github.com/luvit/luv/releases/download/1.22.0-1/luv-1.22.0-1.tar.gz;
sha256 = "1xvz4a0r6kd1xqxwm55g9n6imprxb79600x7dhyillrz7p5nm217";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="cmake";
meta = {
homepage = "https://github.com/luvit/luv";
description="Bare libuv bindings for lua";
license = {
fullName = "Apache 2.0";
};
};
};
luasystem = buildLuarocksPackage {
pname = "luasystem";
version = "0.2.1-0";
src = fetchurl {
url = https://luarocks.org/luasystem-0.2.1-0.src.rock;
sha256 = "091xmp8cijgj0yzfsjrn7vljwznjnjn278ay7z9pjwpwiva0diyi";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "http://olivinelabs.com/luasystem/";
description="Platform independent system calls for Lua.";
license = {
fullName = "MIT <http://opensource.org/licenses/MIT>";
};
};
};
mediator_lua = buildLuarocksPackage {
pname = "mediator_lua";
version = "1.1.2-0";
src = fetchurl {
url = http://luarocks.org/manifests/teto/mediator_lua-1.1.2-0.src.rock;
sha256 = "18j49vvs94yfk4fw0xsq4v3j4difr6c99gfba0kxairmcqamd1if";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "http://olivinelabs.com/mediator_lua/";
description="Event handling through channels";
license = {
fullName = "MIT <http://opensource.org/licenses/MIT>";
};
};
};
mpack = buildLuarocksPackage {
pname = "mpack";
version = "1.0.7-0";
src = fetchurl {
url = http://luarocks.org/manifests/teto/mpack-1.0.7-0.src.rock;
sha256 = "0nq4ixaminkc7fwfpivysyv0al3j5dffsvgdrnwnqdg3w7jgfbw7";
};
buildType="builtin";
meta = {
homepage = "https://github.com/libmpack/libmpack-lua/releases/download/1.0.7/libmpack-lua-1.0.7.tar.gz";
description="Lua binding to libmpack";
license = {
fullName = "MIT";
};
};
};
nvim-client = buildLuarocksPackage {
pname = "nvim-client";
version = "0.1.0-1";
src = fetchurl {
url = https://luarocks.org/nvim-client-0.1.0-1.src.rock;
sha256 = "1p57mrvm0ny3yi5cydr3z9qwzyg124rjp5w7vdflf2i23z39mkma";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua mpack luv coxpcall ];
buildType="builtin";
meta = {
homepage = "https://github.com/neovim/lua-client/archive/0.1.0-1.tar.gz";
description="Lua client to Nvim";
license = {
fullName = "Apache";
};
};
};
busted = buildLuarocksPackage {
pname = "busted";
version = "2.0.rc13-0";
knownRockspec = ( fetchurl {
url = https://luarocks.org/busted-2.0.rc13-0.rockspec;
sha256 = "0hrvhg1324q5ra6cpjh1y3by6lrzs0ljah4jl48l8xlgw1z9z1q5";
}).outPath;
src = fetchurl {
url = https://github.com/Olivine-Labs/busted/archive/v2.0.rc13-0.tar.gz;
sha256 = "0m72bldn1r6j94ahcfmpaq1mmysrshf9qi9fjas7hpal0jp8ivvl";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua lua_cliargs luafilesystem luasystem dkjson say luassert lua-term penlight mediator_lua ];
buildType="builtin";
meta = {
homepage = "http://olivinelabs.com/busted/";
description="Elegant Lua unit testing.";
license = {
fullName = "MIT <http://opensource.org/licenses/MIT>";
};
};
};
luassert = buildLuarocksPackage {
pname = "luassert";
version = "1.7.11-0";
knownRockspec = ( fetchurl {
url = https://luarocks.org/luassert-1.7.11-0.rockspec;
sha256 = "12zgybcv8acjzvjdbxd1764s1vxbksxdv9fkvsymcsdmppxkbd0s";
}).outPath;
src = fetchurl {
url = https://github.com/Olivine-Labs/luassert/archive/v1.7.11.tar.gz;
sha256 = "1vwq3wqj9cjyz9lnf1n38yhpcglr2h40v3n9096i8vcpmyvdb3ka";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua say ];
buildType="builtin";
meta = {
homepage = "http://olivinelabs.com/busted/";
description="Lua Assertions Extension";
license = {
fullName = "MIT <http://opensource.org/licenses/MIT>";
};
};
};
coxpcall = buildLuarocksPackage {
pname = "coxpcall";
version = "1.17.0-1";
src = fetchurl {
url = https://luarocks.org/manifests/hisham/coxpcall-1.17.0-1.src.rock;
sha256 = "0n1jmda4g7x06458596bamhzhcsly6x0p31yp6q3jz4j11zv1zhi";
};
buildType="builtin";
meta = {
homepage = "http://keplerproject.github.io/coxpcall";
description="Coroutine safe xpcall and pcall";
license = {
fullName = "MIT/X11";
};
};
};
}
/* GENERATED */