diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-05-28 12:45:21 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-05-28 23:19:39 +0200 |
commit | 3db60a25a73030fc6bf158fae398d3517888e2ad (patch) | |
tree | fd4c933ae148fcf85ade87b794635f2eb8c10404 /gnu/packages | |
parent | 59519a14deb73c878bfa57c3a59c70f8ef54d714 (diff) | |
download | guix-patches-3db60a25a73030fc6bf158fae398d3517888e2ad.tar guix-patches-3db60a25a73030fc6bf158fae398d3517888e2ad.tar.gz |
gnu: r-rhdf5lib: Update to 1.18.2.
* gnu/packages/bioconductor.scm (r-rhdf5lib): Update to 1.18.2.
[source]: Adjust snippet.
[arguments]: Update build phase 'do-not-use-bundled-hdf5.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/bioconductor.scm | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 1b9ee8ed2f..73995c0255 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -13782,22 +13782,21 @@ block processing.") (define-public r-rhdf5lib (package (name "r-rhdf5lib") - (version "1.16.0") + (version "1.18.2") (source (origin (method url-fetch) (uri (bioconductor-uri "Rhdf5lib" version)) (sha256 (base32 - "0yly9s3wdnhd9ci2jxfkql38ibv35yzs38a6g6ashbg1m5kgwd9p")) + "1jpb8h7c724yz51zjfqs90bsqxgmy1rry2ra9qamsgqpr2j9764g")) (modules '((guix build utils))) (snippet '(begin ;; Delete bundled binaries (delete-file-recursively "src/wininclude/") - (delete-file-recursively "src/winlib-8.3.0/") - (delete-file "src/hdf5small_cxx_hl_1.10.7.tar.gz") - #t)))) + (delete-file-recursively "src/winlib/") + (delete-file "src/hdf5small_cxx_hl_1.10.7.tar.gz"))))) (properties `((upstream-name . "Rhdf5lib"))) (build-system r-build-system) (arguments @@ -13806,11 +13805,8 @@ block processing.") (add-after 'unpack 'do-not-use-bundled-hdf5 (lambda* (#:key inputs #:allow-other-keys) (for-each delete-file '("configure" "configure.ac")) - ;; Do not make other packages link with the proprietary libsz. (substitute* "R/zzz.R" - ((" \"%s/libsz.a\"") "") - (("patharch, .getDynamicLinks") - ".getDynamicLinks")) + (("return\\(links\\)") "return(\" -lz\")")) (with-directory-excursion "src" (invoke "tar" "xvf" (assoc-ref inputs "hdf5-source")) (rename-file (string-append "hdf5-" ,(package-version hdf5-1.10)) @@ -13829,6 +13825,8 @@ block processing.") "hdf5/src/libhdf5.settings") (rename-file "Makevars.in" "Makevars") (substitute* "Makevars" + (("@BUILD_HDF5@") "") + (("@COPY_SZIP@") "") (("@ZLIB_LIB@") "-lz") (("@ZLIB_INCLUDE@") "") (("HDF5_CXX_LIB=.*") |