2024-07-03 07:15:39 +01:00
|
|
|
{
|
|
|
|
buildLuarocksPackage,
|
|
|
|
fetchurl,
|
|
|
|
luaAtLeast,
|
|
|
|
luaOlder,
|
|
|
|
luajit,
|
|
|
|
}:
|
|
|
|
buildLuarocksPackage {
|
|
|
|
pname = "xsys";
|
|
|
|
version = "1.0.2-1";
|
|
|
|
knownRockspec =
|
|
|
|
(fetchurl {
|
|
|
|
url = "mirror://luarocks/xsys-1.0.2-1.rockspec";
|
|
|
|
sha256 = "0jlyrwbzh6fi68msdynp4bbihyww4i3yk0qh859xlwqhfy5cza7p";
|
2024-07-30 15:06:34 +01:00
|
|
|
}).outPath;
|
2024-07-03 07:15:39 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/stepelu/lua-xsys/archive/v1.0.2.tar.gz";
|
|
|
|
sha256 = "1zwrlp6bghq8c12kyqc1ic7mrn8lf3d42755h8q2wxwhy1i3xqyh";
|
|
|
|
};
|
|
|
|
|
|
|
|
disabled = (luaOlder "5.1") || (luaAtLeast "5.4");
|
2024-07-30 15:06:34 +01:00
|
|
|
propagatedBuildInputs = [ luajit ];
|
2024-07-03 07:15:39 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://scilua.org/xsys.html";
|
|
|
|
description = "LuaJIT General Purpose Routines";
|
|
|
|
license.fullName = "MIT";
|
|
|
|
};
|
|
|
|
}
|