mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
luaPackages.luaffi-tkl: init at 1.0.5-2
Maintained fork of the archived luaffifb with tagged releases and an aarch64 backend. It works on Lua 5.1 to 5.5 on x86_64 and aarch64.
This commit is contained in:
@@ -91,6 +91,7 @@ luaepnf,,,,,,
|
||||
luaevent,,,,,,
|
||||
luaexpat,,,,,,arobyn flosse
|
||||
luaffi,,,https://luarocks.org/dev,,,
|
||||
luaffi-tkl,,,,,,
|
||||
luafilesystem,,,,,,flosse alerque
|
||||
lualdap,,,,,,aanderse
|
||||
lualine.nvim,,,https://luarocks.org/dev,,,
|
||||
|
||||
|
@@ -3418,6 +3418,39 @@ final: prev: {
|
||||
}
|
||||
) { };
|
||||
|
||||
luaffi-tkl = callPackage (
|
||||
{
|
||||
buildLuarocksPackage,
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
luaOlder,
|
||||
}:
|
||||
buildLuarocksPackage {
|
||||
pname = "luaffi-tkl";
|
||||
version = "1.0.5-2";
|
||||
knownRockspec =
|
||||
(fetchurl {
|
||||
url = "mirror://luarocks/luaffi-tkl-1.0.5-2.rockspec";
|
||||
sha256 = "1b87mqkvw36bxmdj79mqpna8ydwif23cryr574q2c6f07jaqi6jc";
|
||||
}).outPath;
|
||||
src = fetchFromGitHub {
|
||||
owner = "Tekenlight";
|
||||
repo = "luaffifb";
|
||||
tag = "v1.0.5-2";
|
||||
hash = "sha256-6XBWjm7sNoN96uv9lC64dlF43QuF9NE2ky0bycxBkHY=";
|
||||
};
|
||||
|
||||
disabled = luaOlder "5.1";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/Tekenlight/luaffifb";
|
||||
license = lib.licenses.free;
|
||||
description = "FFI library for calling C functions from lua";
|
||||
longDescription = "";
|
||||
};
|
||||
}
|
||||
) { };
|
||||
|
||||
luafilesystem = callPackage (
|
||||
{
|
||||
buildLuarocksPackage,
|
||||
|
||||
@@ -675,6 +675,16 @@ in
|
||||
};
|
||||
});
|
||||
|
||||
luaffi-tkl = prev.luaffi-tkl.overrideAttrs (old: {
|
||||
meta = (old.meta or { }) // {
|
||||
broken = isLuaJIT;
|
||||
license = lib.licenses.AND [
|
||||
lib.licenses.bsd3
|
||||
lib.licenses.mit
|
||||
];
|
||||
};
|
||||
});
|
||||
|
||||
lualdap = prev.lualdap.overrideAttrs (_: {
|
||||
externalDeps = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user