lua-cassowary: 2.3.1-1 → 2.3.1-2

lua-cassowary: Avoid circular check deps with Busted/Penlight
This commit is contained in:
Caleb Maclennan 2021-09-02 12:37:01 +03:00 committed by Doron Behar
parent eb99f5f522
commit 07557e3b49

View file

@ -160,10 +160,10 @@ busted = buildLuarocksPackage {
cassowary = buildLuarocksPackage {
pname = "cassowary";
version = "2.3.1-1";
version = "2.3.1-2";
knownRockspec = (fetchurl {
url = "https://luarocks.org/cassowary-2.3.1-1.rockspec";
sha256 = "1rgs0rmlmhghml0gi4dn0rg2iq7rqnn8w8dcy9r3qsbkpyylbajc";
url = "https://luarocks.org/cassowary-2.3.1-2.rockspec";
sha256 = "04y882f9ai1jhk0zwla2g0fvl56a75rwnxhsl9r3m0qa5i0ia1i5";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/sile-typesetter/cassowary.lua",
@ -171,7 +171,7 @@ cassowary = buildLuarocksPackage {
"date": "2021-07-19T14:37:34+03:00",
"path": "/nix/store/rzsbr6gqg8vhchl24ma3p1h4slhk0xp7-cassowary.lua",
"sha256": "1r668qcvd2a1rx17xp7ajp5wjhyvh2fwn0c60xmw0mnarjb5w1pq",
"fetchSubmodules": true,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}
@ -179,6 +179,10 @@ cassowary = buildLuarocksPackage {
disabled = (luaOlder "5.1");
propagatedBuildInputs = [ lua penlight ];
checkInputs = [ busted ];
# Avoid circular dependency issue with busted / penlight, see:
# https://github.com/NixOS/nixpkgs/pull/136453/files#r700982255
doCheck = false;
meta = {
homepage = "https://github.com/sile-typesetter/cassowary.lua";