Unverified Commit bee3d6f7 authored by Theodore Ni's avatar Theodore Ni Committed by GitHub
Browse files

Merge pull request #248872 from tjni/h5py

python3.pkgs.h5py: add missing build dependencies
parents 5c3ec91c ea620454
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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 ]