guix-commits
[Top][All Lists]
Advanced

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

301/323: gnu: r-rhdf5: Update to 2.34.0.


From: guix-commits
Subject: 301/323: gnu: r-rhdf5: Update to 2.34.0.
Date: Wed, 9 Dec 2020 06:47:57 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 53affb349aa0d7d09fa2acedddfb58548f2e0747
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Fri Oct 30 15:59:56 2020 +0100

    gnu: r-rhdf5: Update to 2.34.0.
    
    * gnu/packages/bioinformatics.scm (r-rhdf5): Update to 2.34.0.
    [propagated-inputs]: Add r-rhdf5filters.
    [arguments]: Avoid to have a plain directory on the list of libraries to
    link.
    
    Co-authored-by: Ricardo Wurmus <reka@elephly.net>.
---
 gnu/packages/bioinformatics.scm | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 1438fc3..af42f5f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -9105,16 +9105,28 @@ HDF5 datasets.")
 (define-public r-rhdf5
   (package
     (name "r-rhdf5")
-    (version "2.32.3")
+    (version "2.34.0")
     (source (origin
               (method url-fetch)
               (uri (bioconductor-uri "rhdf5" version))
               (sha256
                (base32
-                "0fnx60dpf6s2qwq48lg98g18g8k7wgm66pw0kamlbb7l2hnwycvf"))))
+                "0almr1vscrgj5g4dyrags131wia2pmdbdidlpskbgm44ha6hpmqi"))))
     (build-system r-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-linking
+           (lambda _
+             (substitute* "src/Makevars"
+               ;; This is to avoid having a plain directory on the list of
+               ;; libraries to link.
+               (("\\(RHDF5_LIBS\\)" match)
+                (string-append match "/libhdf5.a")))
+             #t)))))
     (propagated-inputs
-     `(("r-rhdf5lib" ,r-rhdf5lib)))
+     `(("r-rhdf5filters" ,r-rhdf5filters)
+       ("r-rhdf5lib" ,r-rhdf5lib)))
     (inputs
      `(("zlib" ,zlib)))
     (native-inputs



reply via email to

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