python3.pkgs.tables: fix build against hdf5

In 6cbf0b4bd2 the package splitted
of header files, which broke this build as a result.

cc @ttuegel
This commit is contained in:
Jörg Thalheim 2019-10-14 08:56:10 +01:00
parent 43deb3b335
commit d94f92c816
No known key found for this signature in database
GPG Key ID: B3F5D81B0C6967C4

View File

@ -1,6 +1,8 @@
{ stdenv, fetchPypi, python, buildPythonPackage
, cython, bzip2, lzo, numpy, numexpr, hdf5, six, c-blosc, mock }:
with stdenv.lib;
buildPythonPackage rec {
version = "3.5.2";
pname = "tables";
@ -15,12 +17,12 @@ buildPythonPackage rec {
# The setup script complains about missing run-paths, but they are
# actually set.
setupPyBuildFlags =
[ "--hdf5=${hdf5}"
"--lzo=${lzo}"
"--bzip2=${bzip2.dev}"
"--blosc=${c-blosc}"
];
setupPyBuildFlags = [
"--hdf5=${getDev hdf5}"
"--lzo=${getDev lzo}"
"--bzip2=${getDev bzip2}"
"--blosc=${getDev c-blosc}"
];
# Run the test suite.
# It requires the build path to be in the python search path.