gnu: Add r-h5.

* gnu/packages/cran.scm (r-h5): New variable.
master
Ricardo Wurmus 2018-11-09 16:55:06 +01:00
parent 3a4c6288c8
commit ff939ef4d5
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 31 additions and 0 deletions

View File

@ -32,6 +32,7 @@
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build-system r)
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gnome)
@ -3472,6 +3473,36 @@ dendrograms.")
;; Either version of the license.
(license (list license:gpl2 license:gpl3))))
(define-public r-h5
(package
(name "r-h5")
(version "0.9.9")
(source
(origin
(method url-fetch)
(uri (cran-uri "h5" version))
(sha256
(base32
"14p7i1sj24ky87kd7qr3n9fc9l64s0bp0rwbyl6i2x69xn75gpsx"))))
(build-system r-build-system)
(inputs
`(("zlib" ,zlib)
("hdf5" ,hdf5)))
(native-inputs
`(("which" ,which)))
(propagated-inputs
`(("r-rcpp" ,r-rcpp)))
(home-page "https://github.com/mannau/h5")
(synopsis "Interface to the HDF5 Library")
(description
"This package provides an S4 interface to the HDF5 library supporting
fast storage and retrieval of R-objects like vectors, matrices and arrays to
binary files in a language independent format. The HDF5 format can therefore
be used as an alternative to R's save/load mechanism. Since h5 is able to
access only subsets of stored data it can also handle data sets which do not
fit into memory.")
(license license:bsd-2)))
(define-public r-cgdsr
(package
(name "r-cgdsr")