luaPackages.fifo: move to generated
This commit is contained in:
parent
f0269de17f
commit
582fa48e6f
@ -1,6 +1,7 @@
|
|||||||
ansicolors,
|
ansicolors,
|
||||||
argparse,
|
argparse,
|
||||||
dkjson
|
dkjson
|
||||||
|
fifo
|
||||||
inspect
|
inspect
|
||||||
lpeg_patterns
|
lpeg_patterns
|
||||||
lrexlib-gnu,
|
lrexlib-gnu,
|
||||||
|
|
@ -70,6 +70,26 @@ dkjson = buildLuarocksPackage {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
fifo = buildLuarocksPackage {
|
||||||
|
pname = "fifo";
|
||||||
|
version = "0.2-0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = https://luarocks.org/fifo-0.2-0.src.rock;
|
||||||
|
sha256 = "082c5g1m8brnsqj5gnjs65bm7z50l6b05cfwah14lqaqsr5a5pjk";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [lua ];
|
||||||
|
buildType="builtin";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/daurnimator/fifo.lua";
|
||||||
|
description="A lua library/'class' that implements a FIFO";
|
||||||
|
license = {
|
||||||
|
fullName = "MIT/X11";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
inspect = buildLuarocksPackage {
|
inspect = buildLuarocksPackage {
|
||||||
pname = "inspect";
|
pname = "inspect";
|
||||||
version = "3.1.1-0";
|
version = "3.1.1-0";
|
||||||
@ -98,7 +118,7 @@ lpeg_patterns = buildLuarocksPackage {
|
|||||||
url = https://luarocks.org/lpeg_patterns-0.5-0.src.rock;
|
url = https://luarocks.org/lpeg_patterns-0.5-0.src.rock;
|
||||||
sha256 = "0mlw4nayrsdxrh98i26avz5i4170a9brciybw88kks496ra36v8f";
|
sha256 = "0mlw4nayrsdxrh98i26avz5i4170a9brciybw88kks496ra36v8f";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [lua lpeg ];
|
propagatedBuildInputs = [lua lpeg ];
|
||||||
buildType="builtin";
|
buildType="builtin";
|
||||||
|
|
||||||
@ -187,7 +207,7 @@ lua-cmsgpack = buildLuarocksPackage {
|
|||||||
"fetchSubmodules": true
|
"fetchSubmodules": true
|
||||||
}
|
}
|
||||||
'') ["date"]) ;
|
'') ["date"]) ;
|
||||||
|
|
||||||
disabled = ( luaOlder "5.1");
|
disabled = ( luaOlder "5.1");
|
||||||
propagatedBuildInputs = [lua ];
|
propagatedBuildInputs = [lua ];
|
||||||
buildType="builtin";
|
buildType="builtin";
|
||||||
@ -233,9 +253,9 @@ lua-term = buildLuarocksPackage {
|
|||||||
url = https://github.com/hoelzro/lua-term/archive/0.07.tar.gz;
|
url = https://github.com/hoelzro/lua-term/archive/0.07.tar.gz;
|
||||||
sha256 = "0c3zc0cl3a5pbdn056vnlan16g0wimv0p9bq52h7w507f72x18f1";
|
sha256 = "0c3zc0cl3a5pbdn056vnlan16g0wimv0p9bq52h7w507f72x18f1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
buildType="builtin";
|
buildType="builtin";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
@ -299,8 +319,8 @@ penlight = buildLuarocksPackage {
|
|||||||
url = http://stevedonovan.github.io/files/penlight-1.5.4.zip;
|
url = http://stevedonovan.github.io/files/penlight-1.5.4.zip;
|
||||||
sha256 = "138f921p6kdqkmf4pz115phhj0jsqf28g33avws80d2vq2ixqm8q";
|
sha256 = "138f921p6kdqkmf4pz115phhj0jsqf28g33avws80d2vq2ixqm8q";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
propagatedBuildInputs = [luafilesystem ];
|
propagatedBuildInputs = [luafilesystem ];
|
||||||
buildType="builtin";
|
buildType="builtin";
|
||||||
|
|
||||||
@ -325,7 +345,7 @@ say = buildLuarocksPackage {
|
|||||||
url = https://github.com/Olivine-Labs/say/archive/v1.3-1.tar.gz;
|
url = https://github.com/Olivine-Labs/say/archive/v1.3-1.tar.gz;
|
||||||
sha256 = "1jh76mxq9dcmv7kps2spwcc6895jmj2sf04i4y9idaxlicvwvs13";
|
sha256 = "1jh76mxq9dcmv7kps2spwcc6895jmj2sf04i4y9idaxlicvwvs13";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = ( luaOlder "5.1");
|
disabled = ( luaOlder "5.1");
|
||||||
propagatedBuildInputs = [lua ];
|
propagatedBuildInputs = [lua ];
|
||||||
buildType="builtin";
|
buildType="builtin";
|
||||||
@ -351,7 +371,7 @@ luv = buildLuarocksPackage {
|
|||||||
url = https://github.com/luvit/luv/releases/download/1.22.0-1/luv-1.22.0-1.tar.gz;
|
url = https://github.com/luvit/luv/releases/download/1.22.0-1/luv-1.22.0-1.tar.gz;
|
||||||
sha256 = "1xvz4a0r6kd1xqxwm55g9n6imprxb79600x7dhyillrz7p5nm217";
|
sha256 = "1xvz4a0r6kd1xqxwm55g9n6imprxb79600x7dhyillrz7p5nm217";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = ( luaOlder "5.1");
|
disabled = ( luaOlder "5.1");
|
||||||
propagatedBuildInputs = [lua ];
|
propagatedBuildInputs = [lua ];
|
||||||
buildType="cmake";
|
buildType="cmake";
|
||||||
@ -412,8 +432,8 @@ mpack = buildLuarocksPackage {
|
|||||||
url = http://luarocks.org/manifests/teto/mpack-1.0.7-0.src.rock;
|
url = http://luarocks.org/manifests/teto/mpack-1.0.7-0.src.rock;
|
||||||
sha256 = "0nq4ixaminkc7fwfpivysyv0al3j5dffsvgdrnwnqdg3w7jgfbw7";
|
sha256 = "0nq4ixaminkc7fwfpivysyv0al3j5dffsvgdrnwnqdg3w7jgfbw7";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
buildType="builtin";
|
buildType="builtin";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
@ -457,7 +477,7 @@ busted = buildLuarocksPackage {
|
|||||||
url = https://github.com/Olivine-Labs/busted/archive/v2.0.rc13-0.tar.gz;
|
url = https://github.com/Olivine-Labs/busted/archive/v2.0.rc13-0.tar.gz;
|
||||||
sha256 = "0m72bldn1r6j94ahcfmpaq1mmysrshf9qi9fjas7hpal0jp8ivvl";
|
sha256 = "0m72bldn1r6j94ahcfmpaq1mmysrshf9qi9fjas7hpal0jp8ivvl";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = ( luaOlder "5.1");
|
disabled = ( luaOlder "5.1");
|
||||||
propagatedBuildInputs = [lua lua_cliargs luafilesystem luasystem dkjson say luassert lua-term penlight mediator_lua ];
|
propagatedBuildInputs = [lua lua_cliargs luafilesystem luasystem dkjson say luassert lua-term penlight mediator_lua ];
|
||||||
buildType="builtin";
|
buildType="builtin";
|
||||||
@ -483,7 +503,7 @@ luassert = buildLuarocksPackage {
|
|||||||
url = https://github.com/Olivine-Labs/luassert/archive/v1.7.11.tar.gz;
|
url = https://github.com/Olivine-Labs/luassert/archive/v1.7.11.tar.gz;
|
||||||
sha256 = "1vwq3wqj9cjyz9lnf1n38yhpcglr2h40v3n9096i8vcpmyvdb3ka";
|
sha256 = "1vwq3wqj9cjyz9lnf1n38yhpcglr2h40v3n9096i8vcpmyvdb3ka";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = ( luaOlder "5.1");
|
disabled = ( luaOlder "5.1");
|
||||||
propagatedBuildInputs = [lua say ];
|
propagatedBuildInputs = [lua say ];
|
||||||
buildType="builtin";
|
buildType="builtin";
|
||||||
@ -504,8 +524,8 @@ coxpcall = buildLuarocksPackage {
|
|||||||
url = https://luarocks.org/manifests/hisham/coxpcall-1.17.0-1.src.rock;
|
url = https://luarocks.org/manifests/hisham/coxpcall-1.17.0-1.src.rock;
|
||||||
sha256 = "0n1jmda4g7x06458596bamhzhcsly6x0p31yp6q3jz4j11zv1zhi";
|
sha256 = "0n1jmda4g7x06458596bamhzhcsly6x0p31yp6q3jz4j11zv1zhi";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
buildType="builtin";
|
buildType="builtin";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -216,32 +216,6 @@ with self; {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fifo = buildLuaPackage rec {
|
|
||||||
version = "0.2";
|
|
||||||
name = "fifo-${version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "daurnimator";
|
|
||||||
repo = "fifo.lua";
|
|
||||||
rev = version;
|
|
||||||
sha256 = "1800k7h5hxsvm05bjdr65djjml678lwb0661cll78z1ys2037nzn";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildPhase = ":";
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p "$out/lib/lua/${lua.luaversion}"
|
|
||||||
mv fifo.lua "$out/lib/lua/${lua.luaversion}/"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "A lua library/'class' that implements a FIFO";
|
|
||||||
homepage = "https://github.com/daurnimator/fifo.lua";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ vcunat ];
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
luabitop = buildLuaPackage rec {
|
luabitop = buildLuaPackage rec {
|
||||||
version = "1.0.2";
|
version = "1.0.2";
|
||||||
name = "bitop-${version}";
|
name = "bitop-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user