Subject: [bug#39416] [PATCH 05/34] gnu: Add package r-isocodes

From: Lars-Dominik Braun <[email-masked]>
Date: Tue, 4 Feb 2020 14:55:57 +0100

* gnu/packages/cran.scm (r-isocodes): New variable.
---
 gnu/packages/cran.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9028ff310f..4bd3be3d0b 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19372,3 +19372,26 @@ and Intel TBB libraries.  Among several built-in similarity/distance measures,
 computation of correlation, cosine similarity and Euclidean distance is
 particularly fast.")
     (license license:gpl3)))
+
+(define-public r-isocodes
+  (package
+    (name "r-isocodes")
+    (version "2019.12.22")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "ISOcodes" version))
+        (sha256
+          (base32
+            "1k2f2258bwzs0b3nxma9kcw395qkljvk514a7047rx4dn0iwd874"))))
+    (properties `((upstream-name . "ISOcodes")))
+    (build-system r-build-system)
+    (home-page
+      "https://cran.r-project.org/package=ISOcodes")
+    (synopsis "Selected ISO Codes")
+    (description
+      "ISO language, territory, currency, script and character codes.  Provides
+ISO 639 language codes, ISO 3166 territory codes, ISO 4217 currency codes, ISO
+15924 script codes, and the ISO 8859 character codes as well as the UN M.49
+area codes.")
+    (license license:gpl2)))
-- 
2.20.1