···11+diff -rc hdf5-1.8.5/configure hdf5-1.8.5-new/configure
22+*** hdf5-1.8.5/configure 2010-06-04 20:26:04.000000000 +0200
33+--- hdf5-1.8.5-new/configure 2010-08-02 10:30:26.000000000 +0200
44+***************
55+*** 30587,30598 ****
66+ sed 's/#define /#define H5_/' <src/H5config.h |\
77+ sed 's/#undef /#undef H5_/' >pubconf
88+ if test ! -f src/H5pubconf.h; then
99+! /bin/mv -f pubconf src/H5pubconf.h
1010+ elif (diff pubconf src/H5pubconf.h >/dev/null); then
1111+ rm -f pubconf
1212+ echo "src/H5pubconf.h is unchanged"
1313+ else
1414+! /bin/mv -f pubconf src/H5pubconf.h
1515+ fi
1616+ echo "Post process src/libhdf5.settings"
1717+ sed '/^#/d' < src/libhdf5.settings > libhdf5.settings.TMP
1818+--- 30587,30598 ----
1919+ sed 's/#define /#define H5_/' <src/H5config.h |\
2020+ sed 's/#undef /#undef H5_/' >pubconf
2121+ if test ! -f src/H5pubconf.h; then
2222+! mv -f pubconf src/H5pubconf.h
2323+ elif (diff pubconf src/H5pubconf.h >/dev/null); then
2424+ rm -f pubconf
2525+ echo "src/H5pubconf.h is unchanged"
2626+ else
2727+! mv -f pubconf src/H5pubconf.h
2828+ fi
2929+ echo "Post process src/libhdf5.settings"
3030+ sed '/^#/d' < src/libhdf5.settings > libhdf5.settings.TMP
+26
pkgs/tools/misc/hdf5/default.nix
···11+22+{ stdenv
33+, fetchurl
44+}:
55+stdenv.mkDerivation {
66+ name = "hdf5";
77+ src = fetchurl {
88+ url = http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.5.tar.gz ;
99+ sha256 = "0nykbpxg154akgp6va6fkab7kjvybbvpsr7n7i1l8xxmv3h3hbsa";
1010+ };
1111+ buildInputs = [] ;
1212+1313+ patches = [./bin-mv.patch];
1414+1515+ meta = {
1616+ description = "HDF5 is a data model, library, and file format for storing and managing data.";
1717+ longDescription = ''
1818+ It supports an unlimited variety of datatypes, and is designed for flexible and efficient
1919+ I/O and for high volume and complex data. HDF5 is portable and is extensible, allowing
2020+ applications to evolve in their use of HDF5. The HDF5 Technology suite includes tools and
2121+ applications for managing, manipulating, viewing, and analyzing data in the HDF5 format.
2222+ '';
2323+ homepage = http://www.hdfgroup.org/HDF5/;
2424+ # license = "GPLv2";
2525+ };
2626+}