mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
gnu: hdf5: Upgrade to 1.8.21.
* gnu/packages/maths.scm (hdf5): Upgrade to 1.8.21. [source]: Make version manipulations more readable using match.
This commit is contained in:
parent
7fedc3fdfb
commit
7b84610e21
1 changed files with 5 additions and 4 deletions
|
@ -749,7 +749,7 @@ (define-public hdf4-alt
|
||||||
(define-public hdf5
|
(define-public hdf5
|
||||||
(package
|
(package
|
||||||
(name "hdf5")
|
(name "hdf5")
|
||||||
(version "1.8.19")
|
(version "1.8.21")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -759,11 +759,12 @@ (define-public hdf5
|
||||||
version ".tar.bz2")
|
version ".tar.bz2")
|
||||||
(string-append "https://support.hdfgroup.org/ftp/HDF5/"
|
(string-append "https://support.hdfgroup.org/ftp/HDF5/"
|
||||||
"current"
|
"current"
|
||||||
(apply string-append
|
(match (string-split version #\.)
|
||||||
(take (string-split version #\.) 2))
|
((major minor _ ...)
|
||||||
|
(string-append major minor)))
|
||||||
"/src/hdf5-" version ".tar.bz2")))
|
"/src/hdf5-" version ".tar.bz2")))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0f3jfbqpaaq21ighi40qzs52nb52kc2d2yjk541rjmsx20b3ih2r"))
|
(base32 "03glk4w4wyb1jyb443g53y3y1ncnf6mj2cqwm6avfr2awkgb3cg5"))
|
||||||
(patches (search-patches "hdf5-config-date.patch"
|
(patches (search-patches "hdf5-config-date.patch"
|
||||||
"hdf5-1.8-mpi-deprecations.patch"))))
|
"hdf5-1.8-mpi-deprecations.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
|
Loading…
Reference in a new issue