Merge pull request #216111 from alyssais/nipy-python-3.11

python311.pkgs.nipy: fix build
This commit is contained in:
Weijia Wang
2023-02-13 20:26:02 +01:00
committed by GitHub
@@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, pythonOlder
, cython
, nose
, matplotlib
, nibabel
@@ -21,9 +22,14 @@ buildPythonPackage rec {
sha256 = "a8a2c97ce854fece4aced5a6394b9fdca5846150ad6d2a36b86590924af3c848";
};
nativeBuildInputs = [ cython ];
buildInputs = lib.optionals doCheck [ nose ];
propagatedBuildInputs = [ matplotlib nibabel numpy scipy sympy ];
preBuild = ''
make recythonize
'';
checkPhase = '' # wants to be run in a different directory
mkdir nosetests
cd nosetests