luaPackages.luaunit: init at 3.4-1

authored by Jan Schmitt and committed by Matthieu Coudron 87de89e2 6f6755a8

+27
+1
maintainers/scripts/luarocks-packages.csv
··· 71 luassert,,,,,, 72 luasystem,,,,,, 73 luaunbound,,,,, 74 luautf8,,,,,,pstn 75 luazip,,,,,, 76 lua-yajl,,,,,,pstn
··· 71 luassert,,,,,, 72 luasystem,,,,,, 73 luaunbound,,,,, 74 + luaunit,,,,,,lockejan 75 luautf8,,,,,,pstn 76 luazip,,,,,, 77 lua-yajl,,,,,,pstn
+26
pkgs/development/lua-modules/generated-packages.nix
··· 2172 }; 2173 }) {}; 2174 2175 luautf8 = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2176 , fetchurl, lua 2177 }:
··· 2172 }; 2173 }) {}; 2174 2175 + luaunit = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2176 + , fetchurl, lua 2177 + }: 2178 + buildLuarocksPackage { 2179 + pname = "luaunit"; 2180 + version = "3.4-1"; 2181 + knownRockspec = (fetchurl { 2182 + url = "mirror://luarocks/luaunit-3.4-1.rockspec"; 2183 + sha256 = "111435fa8p2819vcvg76qmknj0wqk01gy9d1nh55c36616xnj54n"; 2184 + }).outPath; 2185 + src = fetchurl { 2186 + url = "https://github.com/bluebird75/luaunit/releases/download/LUAUNIT_V3_4/rock-luaunit-3.4.zip"; 2187 + sha256 = "1v8nkiwz2nr242h5cl4af6vmn5gxmn94skps1qhb55ak60j20nvr"; 2188 + }; 2189 + 2190 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5"); 2191 + propagatedBuildInputs = [ lua lua ]; 2192 + 2193 + meta = { 2194 + homepage = "http://github.com/bluebird75/luaunit"; 2195 + description = "A unit testing framework for Lua"; 2196 + maintainers = with lib.maintainers; [ lockejan ]; 2197 + license.fullName = "BSD"; 2198 + }; 2199 + }) {}; 2200 + 2201 luautf8 = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2202 , fetchurl, lua 2203 }: