guix-commits
[Top][All Lists]
Advanced

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

150/151: gnu: r-rhdf5lib: Update to 1.4.0.


From: Ricardo Wurmus
Subject: 150/151: gnu: r-rhdf5lib: Update to 1.4.0.
Date: Wed, 7 Nov 2018 06:29:03 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 37200dbcc37ac210609f1452e14c9ba0a98a97ee
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Nov 7 12:24:12 2018 +0100

    gnu: r-rhdf5lib: Update to 1.4.0.
    
    * gnu/packages/bioinformatics.scm (r-rhdf5lib): Update to 1.4.0.
    [source]: Add snippet to remove bundled binaries.
    [arguments]: Replace references to hdf5 with references to hdf5-1.10.
    [native-inputs]: Likewise.
    [propagated-inputs]: Replace hdf5 with hdf5-1.10.
---
 gnu/packages/bioinformatics.scm | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 213c5c8..9f2dd6c 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -10830,14 +10830,20 @@ block processing.")
 (define-public r-rhdf5lib
   (package
     (name "r-rhdf5lib")
-    (version "1.2.1")
+    (version "1.4.0")
     (source
      (origin
        (method url-fetch)
        (uri (bioconductor-uri "Rhdf5lib" version))
        (sha256
         (base32
-         "1y59acac6v8hrhv84gghn9ifsni9xxxacaj177rrl4frmkrz4x3c"))))
+         "01gpz780g850ql20b2ql6pvr678ydk4nq4sn5iiih94a4crb9lz1"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; Delete bundled binaries
+           (delete-file-recursively "src/winlib/")
+           #t))))
     (properties `((upstream-name . "Rhdf5lib")))
     (build-system r-build-system)
     (arguments
@@ -10854,7 +10860,7 @@ block processing.")
                 "'%s/libhdf5.a %s/libhdf5.a -lz'"))
              (with-directory-excursion "src"
                (invoke "tar" "xvf" (assoc-ref inputs "hdf5-source"))
-               (rename-file (string-append "hdf5-" ,(package-version hdf5))
+               (rename-file (string-append "hdf5-" ,(package-version 
hdf5-1.10))
                             "hdf5")
                ;; Remove timestamp and host system information to make
                ;; the build reproducible.
@@ -10883,9 +10889,9 @@ block processing.")
     (inputs
      `(("zlib" ,zlib)))
     (propagated-inputs
-     `(("hdf5" ,hdf5)))
+     `(("hdf5" ,hdf5-1.10)))
     (native-inputs
-     `(("hdf5-source" ,(package-source hdf5))))
+     `(("hdf5-source" ,(package-source hdf5-1.10))))
     (home-page "https://bioconductor.org/packages/Rhdf5lib";)
     (synopsis "HDF5 library as an R package")
     (description "This package provides C and C++ HDF5 libraries for use in R



reply via email to

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