python312Packages.cytoolz: fix build

This commit is contained in:
Martin Weinelt 2024-04-19 10:35:48 +02:00
parent 6ad1fe0858
commit da03c8fb0a
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
1 changed files with 12 additions and 2 deletions

View File

@ -4,6 +4,7 @@
, isPyPy
, pytestCheckHook
, cython
, setuptools
, toolz
, python
, isPy27
@ -12,7 +13,8 @@
buildPythonPackage rec {
pname = "cytoolz";
version = "0.12.3";
format = "setuptools";
pyproject = true;
disabled = isPy27 || isPyPy;
src = fetchPypi {
@ -20,7 +22,10 @@ buildPythonPackage rec {
hash = "sha256-RQPcWfTO1TpUZDJyxh3DBdHbv719a98paUjenzTDooI=";
};
nativeBuildInputs = [ cython ];
nativeBuildInputs = [
cython
setuptools
];
propagatedBuildInputs = [ toolz ];
@ -31,6 +36,11 @@ buildPythonPackage rec {
export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
'';
disabledTests = [
# https://github.com/pytoolz/cytoolz/issues/200
"test_inspect_wrapped_property"
];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {