luaPackages.luaunit: init at 3.4-1

This commit is contained in:
Jan Schmitt 2022-08-02 22:51:58 +02:00 committed by Matthieu Coudron
parent 6f6755a844
commit 87de89e23b
2 changed files with 27 additions and 0 deletions

View File

@ -71,6 +71,7 @@ luasql-sqlite3,,,,,,vyp
luassert,,,,,,
luasystem,,,,,,
luaunbound,,,,,
luaunit,,,,,,lockejan
luautf8,,,,,,pstn
luazip,,,,,,
lua-yajl,,,,,,pstn

Can't render this file because it has a wrong number of fields in line 73.

View File

@ -2172,6 +2172,32 @@ buildLuarocksPackage {
};
}) {};
luaunit = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
, fetchurl, lua
}:
buildLuarocksPackage {
pname = "luaunit";
version = "3.4-1";
knownRockspec = (fetchurl {
url = "mirror://luarocks/luaunit-3.4-1.rockspec";
sha256 = "111435fa8p2819vcvg76qmknj0wqk01gy9d1nh55c36616xnj54n";
}).outPath;
src = fetchurl {
url = "https://github.com/bluebird75/luaunit/releases/download/LUAUNIT_V3_4/rock-luaunit-3.4.zip";
sha256 = "1v8nkiwz2nr242h5cl4af6vmn5gxmn94skps1qhb55ak60j20nvr";
};
disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5");
propagatedBuildInputs = [ lua lua ];
meta = {
homepage = "http://github.com/bluebird75/luaunit";
description = "A unit testing framework for Lua";
maintainers = with lib.maintainers; [ lockejan ];
license.fullName = "BSD";
};
}) {};
luautf8 = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
, fetchurl, lua
}: