Merge pull request #232215 from markuskowa/upd-hdf5

hdf5: 1.14.0 -> 1.14.1-2

authored by markuskowa and committed by GitHub 436b66aa b3fcbe40

+6 -3
+6 -3
pkgs/tools/misc/hdf5/default.nix
··· 26 26 let inherit (lib) optional optionals; in 27 27 28 28 stdenv.mkDerivation rec { 29 - version = "1.14.0"; 29 + version = "1.14.1-2"; 30 30 pname = "hdf5" 31 31 + lib.optionalString cppSupport "-cpp" 32 32 + lib.optionalString fortranSupport "-fortran" ··· 34 34 + lib.optionalString threadsafe "-threadsafe"; 35 35 36 36 src = fetchurl { 37 - url = "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${lib.versions.majorMinor version}/hdf5-${version}/src/hdf5-${version}.tar.bz2"; 38 - sha256 = "sha256-5OeUM0UO2uKGWkxjKBiLtFORsp10+MU47mmfCxFsK6A="; 37 + url = let 38 + majorMinor = lib.versions.majorMinor version; 39 + majorMinorPatch = with lib.versions; "${major version}.${minor version}.${patch version}"; 40 + in "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${majorMinor}/hdf5-${majorMinorPatch}/src/hdf5-${version}.tar.bz2"; 41 + sha256 = "sha256-BsoUHRo8MStdfMSCahJzcpOuExAxdIhhaJ9qLsghnb0="; 39 42 }; 40 43 41 44 passthru = {