hdf5: Add zlib as optional dependency

This adds addition compression modes to the hdf5 library.

I am adding this, because pytables depends on it.
This commit is contained in:
Andreas Herrmann 2014-06-15 11:12:03 +02:00
parent 9ae6cc5967
commit 4528ebf509

View File

@ -1,6 +1,7 @@
{ stdenv
, fetchurl
, zlib ? null
}:
stdenv.mkDerivation {
name = "hdf5-1.8.10-patch1";
@ -8,7 +9,9 @@ stdenv.mkDerivation {
url = http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.10-patch1.tar.gz;
sha256 = "08ad32fhnci6rdfn6mn3w9v1wcaxdcd326n3ljwkcq4dzhkh28qz";
};
buildInputs = [] ;
buildInputs = []
++ stdenv.lib.optional (zlib != null) zlib;
patches = [./bin-mv.patch];