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:
parent
9ae6cc5967
commit
4528ebf509
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, zlib ? null
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "hdf5-1.8.10-patch1";
|
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;
|
url = http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.10-patch1.tar.gz;
|
||||||
sha256 = "08ad32fhnci6rdfn6mn3w9v1wcaxdcd326n3ljwkcq4dzhkh28qz";
|
sha256 = "08ad32fhnci6rdfn6mn3w9v1wcaxdcd326n3ljwkcq4dzhkh28qz";
|
||||||
};
|
};
|
||||||
buildInputs = [] ;
|
|
||||||
|
buildInputs = []
|
||||||
|
++ stdenv.lib.optional (zlib != null) zlib;
|
||||||
|
|
||||||
patches = [./bin-mv.patch];
|
patches = [./bin-mv.patch];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue