gnu: hdf5: Distinguish the default hdf5 version.

* gnu/packages/maths.scm (hdf5): Rename to...
(hdf-1.8): ... this.
(hdf5-1.10): Adjust accordingly.
(hdf5): New variable.
This commit is contained in:
Ludovic Courtès 2020-08-25 15:12:50 +02:00
parent 4c5edee1ef
commit 3b8eea1c40
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1053,7 +1053,7 @@ (define-public hdf4-alt
(synopsis
"HDF4 without netCDF API, can be combined with the regular netCDF library")))
(define-public hdf5
(define-public hdf5-1.8
(package
(name "hdf5")
(version "1.8.21")
@ -1181,7 +1181,7 @@ (define-public hdf5
"https://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/COPYING"))))
(define-public hdf5-1.10
(package (inherit hdf5)
(package (inherit hdf5-1.8)
(version "1.10.6")
(source
(origin
@ -1199,6 +1199,10 @@ (define-public hdf5-1.10
(base32 "1gf38x51128hn00744358w27xgzjk0ff4wra4yxh2lk804ck1mh9"))
(patches (search-patches "hdf5-config-date.patch"))))))
(define-public hdf5
;; Default version of HDF5.
hdf5-1.8)
(define-public hdf-java
(package
(name "hdf-java")