luaPackages.warna: init at 0.3.5-2 (#569303)

This commit is contained in:
Marc Jakobi
2026-10-02 13:08:20 +00:00
committed by GitHub
2 changed files with 35 additions and 0 deletions

View File

@@ -185,4 +185,5 @@ utf8,,,,,,
vicious,,,,,,
vstruct,,,,,,
vusted,,,,,,
warna,,,,,,Freed-Wu
xml2lua,,,,,,teto
1 name rockspec ref server version luaversion maintainers
185 vicious
186 vstruct
187 vusted
188 warna Freed-Wu
189 xml2lua teto

View File

@@ -6809,6 +6809,40 @@ final: prev: {
}
) { };
warna = callPackage (
{
buildLuarocksPackage,
fetchFromGitHub,
fetchurl,
luaOlder,
}:
buildLuarocksPackage {
pname = "warna";
version = "0.3.5-2";
knownRockspec =
(fetchurl {
url = "https://luarocks.org/warna-0.3.5-2.rockspec";
sha256 = "0vkkpldgaav9cnx63wal6851rlcq6n93fpv5xpvm9al308q45d0r";
}).outPath;
src = fetchFromGitHub {
owner = "komothecat";
repo = "warna";
tag = "v0.3.5-2";
hash = "sha256-6L2MNVlBwhQC/dqnXIMqQh+U11LqEx0KU3/FOCLySOA=";
};
disabled = luaOlder "5.1";
meta = {
homepage = "https://github.com/komothecat/warna#readme";
maintainers = with lib.maintainers; [ Freed-Wu ];
license = lib.licenses.mit;
description = "🎨 Terminal text styling for Lua";
longDescription = "Warna is a simple text styling for the terminal. View more on GitHub.";
};
}
) { };
xml2lua = callPackage (
{
buildLuarocksPackage,