Subject: [bug#66843] [PATCH 03/11] gnu: Add r-nistunits.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Tue, 31 Oct 2023 11:57:21 +0100

* gnu/packages/cran.scm (r-nistunits): New variable.

Change-Id: I66328b54045a3125e5f3033605be88e3a1b2646a
---
 gnu/packages/cran.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index de31f44dbd..fe8014c381 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9817,6 +9817,27 @@ (define-public r-network
 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
+     "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")
-- 
2.41.0