summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2020-10-30 15:59:56 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-12-09 12:12:46 +0100
commit53affb349aa0d7d09fa2acedddfb58548f2e0747 (patch)
treef4d2c2baa8573059bbe0e8923100bf230fadbb29 /gnu
parent86fcceeae1f551ddb9bc692e46245c8291ed3984 (diff)
downloadguix-53affb349aa0d7d09fa2acedddfb58548f2e0747.tar.gz
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>.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioinformatics.scm18
1 files changed, 15 insertions, 3 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 1438fc3f9b..af42f5f5e6 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