Skip to content

Commit

Permalink
Merge pull request #309595 from markuskowa/upd-hdf5
Browse files Browse the repository at this point in the history
hdf5: 1.14.3 -> 1.14.4.3
  • Loading branch information
markuskowa authored Jun 20, 2024
2 parents 61f347a + 38c661b commit 22f7cc0
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions pkgs/tools/misc/hdf5/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchFromGitHub
, cmake
, removeReferencesTo
, cppSupport ? true
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit 22f7cc0

Please sign in to comment.