summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>2023-10-31 11:57:21 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-10-31 13:58:08 +0100
commitf123b3809040c859125cbf53b586d364e78525d3 (patch)
treec9521b38fc2484479730bd8a1378c919a8e2e186 /gnu
parent192514e869875e118d686da5187491fc41ea82ec (diff)
downloadguix-f123b3809040c859125cbf53b586d364e78525d3.tar.gz
gnu: Add r-nistunits.
* gnu/packages/cran.scm (r-nistunits): New variable.

Change-Id: I66328b54045a3125e5f3033605be88e3a1b2646a
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 d6ce33830b..60deaf45ac 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9882,6 +9882,27 @@ implementation of an approximate nearest neighbor search using hierarchical
 supports arbitrary vertex/edge/graph attributes.")
     (license license:gpl2+)))
 
+(define-public r-nistunits
+  (package
+    (name "r-nistunits")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "NISTunits" version))
+       (sha256
+        (base32 "0km9l3k9p35sb1qrhrz4ijjsdihvsp6j7cz5kh46lgf7nn6xdk7a"))))
+    (properties `((upstream-name . "NISTunits")))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/package=NISTunits")
+    (synopsis "Fundamental physical constants and unit conversions")
+    (description
+     "This package provides fundamental physical constants (quantity, value,
+uncertainty, unit) for @acronym{SI, International System of Units} and non-SI
+units, plus unit conversions based on the data from @acronym{NIST, National
+Institute of Standards and Technology}, USA.")
+    (license license:gpl3+)))
+
 (define-public r-stabs
   (package
     (name "r-stabs")