ansicolor: init at 1.0.2

This commit is contained in:
Wu, Zhenyu 2024-06-10 14:14:37 +08:00 committed by Matthieu Coudron
parent a4ec4126ea
commit 6c02cec283
2 changed files with 23 additions and 0 deletions

View File

@ -1,5 +1,6 @@
name,rockspec,ref,server,version,luaversion,maintainers
alt-getopt,,,,,,arobyn
ansicolors,,,,,,Freed-Wu
bit32,,,,5.3.0-1,5.1,lblasc
argparse,,,,,,
basexx,,,,,,

1 name rockspec ref server version luaversion maintainers
2 alt-getopt arobyn
3 ansicolors Freed-Wu
4 bit32 5.3.0-1 5.1 lblasc
5 argparse
6 basexx

View File

@ -31,6 +31,28 @@ buildLuarocksPackage {
};
}) {};
ansicolors = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }:
buildLuarocksPackage {
pname = "ansicolors";
version = "1.0.2-3";
knownRockspec = (fetchurl {
url = "mirror://luarocks/ansicolors-1.0.2-3.rockspec";
sha256 = "19y962xdx5ldl3596ywdl7n825dffz9al6j6rx6pbgmhb7pi8s5v";
}).outPath;
src = fetchurl {
url = "https://github.com/kikito/ansicolors.lua/archive/v1.0.2.tar.gz";
sha256 = "0r4xi57njldmar9pn77l0vr5701rpmilrm51spv45lz0q9js8xps";
};
disabled = luaOlder "5.1";
meta = {
homepage = "https://github.com/kikito/ansicolors.lua";
description = "Library for color Manipulation.";
license.fullName = "MIT <http://opensource.org/licenses/MIT>";
};
}) {};
argparse = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }:
buildLuarocksPackage {
pname = "argparse";