From 53affb349aa0d7d09fa2acedddfb58548f2e0747 Mon Sep 17 00:00:00 2001 From: zimoun Date: Fri, 30 Oct 2020 15:59:56 +0100 Subject: 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 . --- 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 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 -- cgit 1.4.1