summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorWiktor Żelazny <wzelazny@vurv.cz>2019-10-03 15:51:30 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-03-21 21:38:08 +0100
commit3ac12ca61bbe887f2ebc8cfbf9b09a179f30a849 (patch)
tree14762e34e4c6a6ff0d30e91182acd7be74d5f41d /gnu
parent069554dc240078febab777c525a346594d02512e (diff)
downloadguix-3ac12ca61bbe887f2ebc8cfbf9b09a179f30a849.tar.gz
gnu: Add r-oai.
* gnu/packages/cran.scm (r-oai): new variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f56c3882c3..4c2ea9f130 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -20884,3 +20884,29 @@ appropriate dog and cat images for many status codes.")
 R's plotmath expressions, used to enter mathematical formulas and symbols to be
 rendered as text, axis labels, etc. throughout R's plotting system.")
     (license license:expat)))
+
+(define-public r-oai
+  (package
+    (name "r-oai")
+    (version "0.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "oai" version))
+              (sha256
+               (base32
+                "1ipw9bq3ra66d1ddj1rylyyd20mlcb2i7phzhywra53s1fdifq1g"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-xml2" ,r-xml2)
+       ("r-httr" ,r-httr)
+       ("r-plyr" ,r-plyr)
+       ("r-stringr" ,r-stringr)
+       ("r-tibble" ,r-tibble)))
+    (home-page "https://github.com/ropensci/oai/")
+    (synopsis "General purpose OAI-PMH services client")
+    (description "@code{oai} provides a general purpose client to work with
+any @dfn{Open Archives Initiative Protocol for 'Metadata' Harvesting} (OAI-PMH)
+service.  Functions are provided to work with the OAI-PMH verbs:
+@code{GetRecord}, @code{Identify}, @code{ListIdentifiers},
+@code{ListMetadataFormats}, @code{ListRecords}, and @code{ListSets}.")
+    (license license:expat)))