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:
Austin Horstman
2026-10-07 12:05:04 -05:00
parent 0b90893d4c
commit c97d3c0270
3 changed files with 44 additions and 0 deletions

View File

@@ -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,,,
1 name rockspec ref server version luaversion maintainers
91 luaevent
92 luaexpat arobyn flosse
93 luaffi https://luarocks.org/dev
94 luaffi-tkl
95 luafilesystem flosse alerque
96 lualdap aanderse
97 lualine.nvim https://luarocks.org/dev

View File

@@ -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,

View File

@@ -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 = [
{