python312Packages.cytoolz: fix build
This commit is contained in:
parent
6ad1fe0858
commit
da03c8fb0a
|
@ -4,6 +4,7 @@
|
||||||
, isPyPy
|
, isPyPy
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, cython
|
, cython
|
||||||
|
, setuptools
|
||||||
, toolz
|
, toolz
|
||||||
, python
|
, python
|
||||||
, isPy27
|
, isPy27
|
||||||
|
@ -12,7 +13,8 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cytoolz";
|
pname = "cytoolz";
|
||||||
version = "0.12.3";
|
version = "0.12.3";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = isPy27 || isPyPy;
|
disabled = isPy27 || isPyPy;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
|
@ -20,7 +22,10 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-RQPcWfTO1TpUZDJyxh3DBdHbv719a98paUjenzTDooI=";
|
hash = "sha256-RQPcWfTO1TpUZDJyxh3DBdHbv719a98paUjenzTDooI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cython ];
|
nativeBuildInputs = [
|
||||||
|
cython
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ toolz ];
|
propagatedBuildInputs = [ toolz ];
|
||||||
|
|
||||||
|
@ -31,6 +36,11 @@ buildPythonPackage rec {
|
||||||
export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
|
export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# https://github.com/pytoolz/cytoolz/issues/200
|
||||||
|
"test_inspect_wrapped_property"
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [ pytestCheckHook ];
|
nativeCheckInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user