Merge pull request #309595 from markuskowa/upd-hdf5

hdf5: 1.14.3 -> 1.14.4.3
This commit is contained in:
Markus Kowalewski 2024-06-20 09:58:04 +00:00 committed by GitHub
commit 22f7cc0aeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchFromGitHub
, cmake
, removeReferencesTo
, cppSupport ? true
@ -28,21 +28,18 @@ assert !cppSupport || !mpiSupport;
let inherit (lib) optional optionals; in
stdenv.mkDerivation rec {
version = "1.14.3";
version = "1.14.4.3";
pname = "hdf5"
+ lib.optionalString cppSupport "-cpp"
+ lib.optionalString fortranSupport "-fortran"
+ lib.optionalString mpiSupport "-mpi"
+ lib.optionalString threadsafe "-threadsafe";
src = fetchurl {
url =
let
majorMinor = lib.versions.majorMinor version;
majorMinorPatch = with lib.versions; "${major version}.${minor version}.${patch version}";
in
"https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${majorMinor}/hdf5-${majorMinorPatch}/src/hdf5-${version}.tar.bz2";
sha256 = "sha256-lCXyJO110SgLtG1vJpI92Tj5BA5+rr9X5m7HNXwI+Rc=";
src = fetchFromGitHub {
owner = "HDFGroup";
repo = "hdf5";
rev = "hdf5_${version}";
hash = "sha256-lvz3x04SS0oZmUn/BIxQEHnugaDOws46kfT3NAw7Hos=";
};
passthru = {