Merge pull request #199505 from cpcloud/fix-scipy-python38

python38Packages.scipy: fix build
This commit is contained in:
Mario Rodas
2022-11-05 10:33:11 -05:00
committed by GitHub
@@ -2,6 +2,7 @@
, stdenv
, fetchPypi
, python
, pythonOlder
, buildPythonPackage
, cython
, gfortran
@@ -14,6 +15,7 @@
, pytest-xdist
, numpy
, pybind11
, libxcrypt
}:
buildPythonPackage rec {
@@ -28,7 +30,12 @@ buildPythonPackage rec {
nativeBuildInputs = [ cython gfortran meson-python pythran pkg-config wheel ];
buildInputs = [ numpy.blas pybind11 ];
buildInputs = [
numpy.blas
pybind11
] ++ lib.optionals (pythonOlder "3.9") [
libxcrypt
];
propagatedBuildInputs = [ numpy ];