git.iko.soy/typeable/nixpkgs
on master help sign in
hdf5_1_8: remove

- no longer needed as `libminc` has been updated to use the default hdf5

commit95439a7e7d711c172c9b5160488f055f3d82d07a authorBen Darwin <bcdarwin@gmail.com> dateFri 24 Jul 2020, 13:29 (6 years ago) parent44d854a
2 files changed−81
pkgs/tools/misc/hdf5/1_8.nix−75 pkgs/top-level/all-packages.nix−6
pkgs/tools/misc/hdf5/1_8.nixdeleted−75
@@ -1,75 +0,0 @@
1−{ stdenv
2−, fetchurl
3−, removeReferencesTo
4−, cpp ? false
5−, gfortran ? null
6−, fortran2003 ? false
7−, zlib ? null
8−, szip ? null
9−, mpi ? null
10−, enableShared ? true
11−}:
12−
13−# cpp and mpi options are mutually exclusive
14−# (--enable-unsupported could be used to force the build)
15−assert !cpp || mpi == null;
16−
17−# Need a Fortran compiler for Fortran2003 bindings
18−assert fortran2003 -> gfortran != null;
19−
20−# No point splitting version 1.8.18 into multiple outputs.
21−# The library /lib/libhdf5.so has a reference to gcc-wrapper
22−
23−let inherit (stdenv.lib) optional optionals; in
24−
25−stdenv.mkDerivation rec {
26− version = "1.8.19";
27− pname = "hdf5";
28− src = fetchurl {
29− url = "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/${pname}-${version}/src/${pname}-${version}.tar.bz2";
30− sha256 = "0f3jfbqpaaq21ighi40qzs52nb52kc2d2yjk541rjmsx20b3ih2r" ;
31− };
32−
33− passthru = {
34− mpiSupport = (mpi != null);
35− inherit mpi;
36− };
37−
38− nativeBuildInputs = [ removeReferencesTo ];
39−
40− buildInputs = []
41− ++ optional (gfortran != null) gfortran
42− ++ optional (szip != null) szip;
43−
44− propagatedBuildInputs = []
45− ++ optional (zlib != null) zlib
46− ++ optional (mpi != null) mpi;
47−
48− configureFlags = []
49− ++ optional cpp "--enable-cxx"
50− ++ optional (gfortran != null) "--enable-fortran"
51− ++ optional fortran2003 "--enable-fortran2003"
52− ++ optional (szip != null) "--with-szlib=${szip}"
53− ++ optionals (mpi != null) ["--enable-parallel" "CC=${mpi}/bin/mpicc"]
54− ++ optional enableShared "--enable-shared";
55−
56− patches = [./bin-mv.patch];
57−
58− postInstall = ''
59− find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' +
60− '';
61−
62− meta = {
63− description = "Data model, library, and file format for storing and managing data";
64− longDescription = ''
65− HDF5 supports an unlimited variety of datatypes, and is designed for flexible and efficient
66− I/O and for high volume and complex data. HDF5 is portable and is extensible, allowing
67− applications to evolve in their use of HDF5. The HDF5 Technology suite includes tools and
68− applications for managing, manipulating, viewing, and analyzing data in the HDF5 format.
69− '';
70− license = stdenv.lib.licenses.free; # BSD-like
71− homepage = "https://www.hdfgroup.org/HDF5/";
72− platforms = stdenv.lib.platforms.unix;
73− broken = (gfortran != null) && stdenv.isDarwin;
74− };
75−}
pkgs/top-level/all-packages.nix−6
@@ -4371,12 +4371,6 @@ in
43714371 mpi = null;
43724372 };
43734373
4374− hdf5_1_8 = callPackage ../tools/misc/hdf5/1_8.nix {
4375− gfortran = null;
4376− szip = null;
4377− mpi = null;
4378− };
4379−
43804374 hdf5-mpi = appendToName "mpi" (hdf5.override {
43814375 szip = null;
43824376 mpi = pkgs.openmpi;