python3.pkgs.h5py: add missing build dependencies

This commit is contained in:
Theodore Ni
2023-08-13 01:50:19 -07:00
parent 0ee26e358a
commit ea62045476
@@ -2,7 +2,9 @@
, fetchPypi
, buildPythonPackage
, pythonOlder
, oldest-supported-numpy
, setuptools
, wheel
, numpy
, hdf5
, cython
@@ -33,7 +35,6 @@ in buildPythonPackage rec {
# avoid strict pinning of numpy
postPatch = ''
substituteInPlace setup.py \
--replace "numpy ==" "numpy >=" \
--replace "mpi4py ==" "mpi4py >="
'';
@@ -50,8 +51,10 @@ in buildPythonPackage rec {
nativeBuildInputs = [
cython
oldest-supported-numpy
pkgconfig
setuptools
wheel
];
buildInputs = [ hdf5 ]