summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-07 12:24:12 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-07 12:27:16 +0100
commit37200dbcc37ac210609f1452e14c9ba0a98a97ee (patch)
treeb6a78cd23798615abb9c135d055fdc289ffe9bf2
parent8e48d36f26fd6943c118945a33e14f2c321231cf (diff)
downloadguix-37200dbcc37ac210609f1452e14c9ba0a98a97ee.tar.gz
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.
-rw-r--r--gnu/packages/bioinformatics.scm16
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 213c5c803c..9f2dd6cf64 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