lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 58 lines 2.0 kB view raw
1{ lib 2, stdenv 3, fetchurl 4, removeReferencesTo 5, zlibSupport ? true 6, zlib 7, enableShared ? !stdenv.hostPlatform.isStatic 8, javaSupport ? false 9, jdk 10}: 11 12let inherit (lib) optional optionals; in 13 14stdenv.mkDerivation rec { 15 # pinned to 1.10.6 for pythonPackages.tables v3.6.1. tables has test errors for hdf5 > 1.10.6. https://github.com/PyTables/PyTables/issues/845 16 version = "1.10.6"; 17 pname = "hdf5"; 18 src = fetchurl { 19 url = "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${lib.versions.majorMinor version}/${pname}-${version}/src/${pname}-${version}.tar.bz2"; 20 sha256 = "1gf38x51128hn00744358w27xgzjk0ff4wra4yxh2lk804ck1mh9"; 21 }; 22 23 outputs = [ "out" "dev" ]; 24 25 buildInputs = optional javaSupport jdk; 26 27 nativeBuildInputs = [ removeReferencesTo ]; 28 29 propagatedBuildInputs = optional zlibSupport zlib; 30 31 configureFlags = optional enableShared "--enable-shared" 32 ++ optional javaSupport "--enable-java"; 33 34 patches = [ 35 ./bin-mv.patch 36 ]; 37 38 postInstall = '' 39 find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' + 40 moveToOutput 'bin/h5cc' "''${!outputDev}" 41 moveToOutput 'bin/h5c++' "''${!outputDev}" 42 moveToOutput 'bin/h5fc' "''${!outputDev}" 43 moveToOutput 'bin/h5pcc' "''${!outputDev}" 44 ''; 45 46 meta = { 47 description = "Data model, library, and file format for storing and managing data"; 48 longDescription = '' 49 HDF5 supports an unlimited variety of datatypes, and is designed for flexible and efficient 50 I/O and for high volume and complex data. HDF5 is portable and is extensible, allowing 51 applications to evolve in their use of HDF5. The HDF5 Technology suite includes tools and 52 applications for managing, manipulating, viewing, and analyzing data in the HDF5 format. 53 ''; 54 license = lib.licenses.bsd3; # Lawrence Berkeley National Labs BSD 3-Clause variant 55 homepage = "https://www.hdfgroup.org/HDF5/"; 56 platforms = lib.platforms.unix; 57 }; 58}