guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/08: gnu: hdf5: Distinguish the default hdf5 version.


From: guix-commits
Subject: 02/08: gnu: hdf5: Distinguish the default hdf5 version.
Date: Tue, 25 Aug 2020 18:52:53 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 3b8eea1c40471e7eab9927966ae17debe7ab54d7
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Aug 25 15:12:50 2020 +0200

    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.
---
 gnu/packages/maths.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index e3209c1..64b6841 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1053,7 +1053,7 @@ incompatible with HDF5.")
     (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 @@ extremely large and complex data collections.")
               
"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 @@ extremely large and complex data collections.")
        (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]