|
|
|
@ -3,7 +3,9 @@ |
|
|
|
|
, fetchPypi |
|
|
|
|
, python |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, cython |
|
|
|
|
, gfortran |
|
|
|
|
, pythran |
|
|
|
|
, nose |
|
|
|
|
, pytest |
|
|
|
|
, pytest-xdist |
|
|
|
@ -13,18 +15,21 @@ |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
pname = "scipy"; |
|
|
|
|
version = "1.6.3"; |
|
|
|
|
version = "1.7.1"; |
|
|
|
|
|
|
|
|
|
src = fetchPypi { |
|
|
|
|
inherit pname version; |
|
|
|
|
sha256 = "a75b014d3294fce26852a9d04ea27b5671d86736beb34acdfc05859246260707"; |
|
|
|
|
sha256 = "6b47d5fa7ea651054362561a28b1ccc8da9368a39514c1bbf6c0977a1c376764"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
checkInputs = [ nose pytest pytest-xdist ]; |
|
|
|
|
nativeBuildInputs = [ gfortran ]; |
|
|
|
|
nativeBuildInputs = [ cython gfortran pythran ]; |
|
|
|
|
|
|
|
|
|
buildInputs = [ numpy.blas pybind11 ]; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy ]; |
|
|
|
|
|
|
|
|
|
checkInputs = [ nose pytest pytest-xdist ]; |
|
|
|
|
|
|
|
|
|
# Remove tests because of broken wrapper |
|
|
|
|
prePatch = '' |
|
|
|
|
rm scipy/linalg/tests/test_lapack.py |
|
|
|
@ -41,7 +46,6 @@ buildPythonPackage rec { |
|
|
|
|
ln -s ${numpy.cfg} site.cfg |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# disable stackprotector on aarch64-darwin for now |
|
|
|
|
# |
|
|
|
|
# build error: |
|
|
|
|