summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-02-11 00:35:14 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-02-11 01:03:21 +0100
commitf3d511cc91dfb9ec1c869b77944dd652aca392fa (patch)
tree79f0a288183615d024251649016910c82cdb875e /gnu
parentbfb7791cb0a456210c0bdde42e13847a4c8bee42 (diff)
downloadguix-f3d511cc91dfb9ec1c869b77944dd652aca392fa.tar.gz
gnu: Add r-udunits2.
* gnu/packages/cran.scm (r-udunits2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index bcae733641..19aafd6c50 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -14829,6 +14829,27 @@ is compatible with the @code{POSIXct}, @code{Date} and @code{difftime}
 classes.")
     (license license:gpl2)))
 
+(define-public r-udunits2
+  (package
+    (name "r-udunits2")
+    (version "0.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "udunits2" version))
+       (sha256
+        (base32
+         "0yav7rm2afcx67xqrknybxgz7x63w78zyxa0xifvc0k2gz0d6mfi"))))
+    (properties `((upstream-name . "udunits2")))
+    (build-system r-build-system)
+    (inputs
+     `(("udunits" ,udunits)))
+    (home-page "https://cran.r-project.org/package=udunits2")
+    (synopsis "Udunits-2 bindings for R")
+    (description
+     "This package provides simple bindings to Unidata's udunits library.")
+    (license license:gpl2)))
+
 (define-public r-classint
   (package
     (name "r-classint")