-
-
Notifications
You must be signed in to change notification settings - Fork 15k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hdf5: 1.14.3 -> 1.14.4.3 #309595
hdf5: 1.14.3 -> 1.14.4.3 #309595
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -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 { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There seems to be a preference for using
Suggested change
|
||||||
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}"; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the
Suggested change
|
||||||
hash = "sha256-lvz3x04SS0oZmUn/BIxQEHnugaDOws46kfT3NAw7Hos="; | ||||||
}; | ||||||
|
||||||
passthru = { | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use of the
optional
andoptionals
defined here is inconsistent within this package as there are also uses oflib.optional
andlib.optionals
. I'd like to recommend to remove this definition here and replace usesoptional
andoptionals
withlib.optional
andlib.optionals
.