luaPackages.fifo: move to generated

This commit is contained in:
Matthieu Coudron 2019-02-06 00:31:35 +09:00
parent f0269de17f
commit 582fa48e6f
3 changed files with 36 additions and 41 deletions

View File

@ -1,6 +1,7 @@
ansicolors, ansicolors,
argparse, argparse,
dkjson dkjson
fifo
inspect inspect
lpeg_patterns lpeg_patterns
lrexlib-gnu, lrexlib-gnu,

1 ansicolors,
2 argparse,
3 dkjson
4 fifo
5 inspect
6 lpeg_patterns
7 lrexlib-gnu,

View File

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

View File

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