7 , mpiSupport ? hdf5.mpiSupport
11 assert mpiSupport -> mpi != null;
13 stdenv.mkDerivation rec {
17 src = fetchFromGitHub {
20 rev = "4c70d818ed18231563fe49ff197d1c41054be592";
21 sha256 = "02xy3c2ix3nw8109aw75ixj651knzc5rjqwqrxximm4hzwx09frk";
24 nativeBuildInputs = [ cmake ];
26 buildInputs = [ boost eigen hdf5 ];
29 inherit mpiSupport mpi;
33 "-DHIGHFIVE_USE_BOOST=ON"
34 "-DHIGHFIVE_USE_EIGEN=ON"
35 "-DHIGHFIVE_EXAMPLES=OFF"
36 "-DHIGHFIVE_UNIT_TESTS=OFF"
37 "-DHIGHFIVE_USE_INSTALL_DEPS=ON"
39 ++ (lib.optionals mpiSupport [ "-DHIGHFIVE_PARALLEL_HDF5=ON" ]);
43 description = "Header-only C++ HDF5 interface";
44 license = licenses.boost;
45 homepage = "https://bluebrain.github.io/HighFive/";
46 platforms = platforms.unix;
47 maintainers = with maintainers; [ robertodr ];