diff --git a/maintainers/scripts/luarocks-packages.csv b/maintainers/scripts/luarocks-packages.csv index 08cc75b346ee..b3d958ef7d36 100644 --- a/maintainers/scripts/luarocks-packages.csv +++ b/maintainers/scripts/luarocks-packages.csv @@ -85,6 +85,7 @@ luasocket,,,,,, luasql-sqlite3,,,,,,vyp luassert,,,,,, luasystem,,,,,, +luatext,https://github.com/f4z3r/luatext,,,,, luaunbound,,,,,, luaunit,,,,,,lockejan luautf8,,,,,,pstn diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix index bccfd1d99e70..46f0d5310cfa 100644 --- a/pkgs/development/lua-modules/generated-packages.nix +++ b/pkgs/development/lua-modules/generated-packages.nix @@ -2108,6 +2108,30 @@ buildLuarocksPackage { }; }) {}; +luatext = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: +buildLuarocksPackage { + pname = "luatext"; + version = "1.2.1-0"; + knownRockspec = (fetchurl { + url = "mirror://luarocks/luatext-1.2.1-0.rockspec"; + sha256 = "12ia4ibihd537mjmvdasnwgkinaygqwk03bsj3s0qrfhy6yz84ka"; + }).outPath; + src = fetchFromGitHub { + owner = "f4z3r"; + repo = "luatext"; + rev = "v1.2.1"; + hash = "sha256-StxCmjSSy3ok0hNkKTQyq4yS1LfX980R5pULCUjLPek="; + }; + + disabled = luaOlder "5.1"; + + meta = { + homepage = "https://github.com/f4z3r/luatext/tree/main"; + description = "A small library to print colored text"; + license.fullName = "MIT"; + }; +}) {}; + luaunbound = callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "luaunbound";