mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
luaPackages.warna: init at 0.3.5-2 (#569303)
This commit is contained in:
@@ -185,4 +185,5 @@ utf8,,,,,,
|
||||
vicious,,,,,,
|
||||
vstruct,,,,,,
|
||||
vusted,,,,,,
|
||||
warna,,,,,,Freed-Wu
|
||||
xml2lua,,,,,,teto
|
||||
|
||||
|
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user