Subject: [bug#60878] [PATCH 1/2] gnu: Add r-rapiclient.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Tue, 17 Jan 2023 14:18:22 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3fcbd3b9f6..1914c9d85a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -10252,6 +10252,30 @@ (define-public r-collapsibletree
 the source data frame.")
     (license license:gpl3+)))
 
+(define-public r-rapiclient
+  (package
+    (name "r-rapiclient")
+    (version "0.1.3")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "rapiclient" version))
+              (sha256
+               (base32
+                "1pm4kdga2nz1cpmchdb0ad8gr3bqfm84b1kl32cyc0x3x5rr2syz"))))
+    (properties `((upstream-name . "rapiclient")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-httr
+           r-jsonlite
+           r-yaml))
+    (home-page "https://github.com/bergant/rapiclient")
+    (synopsis "Dynamic OpenAPI/Swagger client")
+    (description
+     "This package access services specified in OpenAPI (formerly Swagger) format.
+It is not a code generator.  The client is generated dynamically as a list of R
+functions.")
+    (license license:expat)))
+
 (define-public r-rappdirs
   (package
     (name "r-rappdirs")

base-commit: 29efa2791dafb042ca8ace77bcf8538fb404d492
-- 
2.38.1