lua*Packages.cqueues: 20171014.52-0 -> 20190731.52-0

My main aim is to fix it on aarch64 NixOS.
The patch was included in the release.
This commit is contained in:
Vladimír Čunát 2019-08-05 16:01:42 +02:00
parent 40e3191a6a
commit 265692f9ff
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 3 additions and 12 deletions

View File

@ -196,11 +196,11 @@ coxpcall = buildLuarocksPackage {
};
cqueues = buildLuarocksPackage {
pname = "cqueues";
version = "20171014.52-0";
version = "20190731.52-0";
src = fetchurl {
url = https://luarocks.org/cqueues-20171014.52-0.src.rock;
sha256 = "0q3iy1ja20nq2sn2n6badzhjq5kni86pfc09n5g2c46q9ja3vfzx";
url = https://luarocks.org/cqueues-20190731.52-0.src.rock;
sha256 = "07rs34amsxf2bc5ccqdad0c63c70737r54316cbd9qh1a2wbvz8s";
};
disabled = (lua.luaversion != "5.2");
propagatedBuildInputs = [ lua ];

View File

@ -40,15 +40,6 @@ with super;
{ name = "CRYPTO"; dep = pkgs.openssl; }
{ name = "OPENSSL"; dep = pkgs.openssl; }
];
patches = [
# https://github.com/wahern/cqueues/issues/216 &
# https://github.com/wahern/cqueues/issues/217
(pkgs.fetchpatch {
name = "find-version-fix.patch";
url = "https://github.com/wahern/cqueues/pull/217.patch";
sha256 = "0068ql0jlxmjkvhzydyy52sjd0k4vad6b8w4y5szpbv4vb2lzcsc";
})
];
disabled = luaOlder "5.1" || luaAtLeast "5.4";
# Upstream rockspec is pointlessly broken into separate rockspecs, per Lua
# version, which doesn't work well for us, so modify it