python3Packages.cytoolz: fix build
cytoolz has a test failure with Python 3.7 [0]. There is a debian patch for it, which didn't make it into upstream yet [1]. [0] https://github.com/pytoolz/cytoolz/issues/122 [1] https://salsa.debian.org/python-team/modules/python-cytoolz/raw/5ce4158deefc47475d1e76813f900e6c72ddcc6e/debian/patches/py37.patch
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
, nose
|
, nose
|
||||||
, toolz
|
, toolz
|
||||||
, python
|
, python
|
||||||
|
, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@@ -16,6 +17,15 @@ buildPythonPackage rec {
|
|||||||
sha256 = "84cc06fa40aa310f2df79dd440fc5f84c3e20f01f9f7783fc9c38d0a11ba00e5";
|
sha256 = "84cc06fa40aa310f2df79dd440fc5f84c3e20f01f9f7783fc9c38d0a11ba00e5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# temporal fix for a test failure: https://github.com/pytoolz/cytoolz/issues/122
|
||||||
|
(fetchpatch {
|
||||||
|
name = "py37.patch";
|
||||||
|
url = https://salsa.debian.org/python-team/modules/python-cytoolz/raw/5ce4158deefc47475d1e76813f900e6c72ddcc6e/debian/patches/py37.patch;
|
||||||
|
sha256 = "1z29y7s5n751q3f74r3bz0f48yg6izvi68hc4pkwcalxmkq5r1n9";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
# Extension types
|
# Extension types
|
||||||
disabled = isPyPy;
|
disabled = isPyPy;
|
||||||
|
|
||||||
@@ -28,7 +38,7 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/pytoolz/cytoolz/";
|
homepage = https://github.com/pytoolz/cytoolz/;
|
||||||
description = "Cython implementation of Toolz: High performance functional utilities";
|
description = "Cython implementation of Toolz: High performance functional utilities";
|
||||||
license = "licenses.bsd3";
|
license = "licenses.bsd3";
|
||||||
maintainers = with lib.maintainers; [ fridh ];
|
maintainers = with lib.maintainers; [ fridh ];
|
||||||
|
|||||||
Reference in New Issue
Block a user