summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorEric Brown <ecbrown@ericcbrown.com>2020-04-22 06:07:14 -0500
committerChristopher Baines <mail@cbaines.net>2020-12-09 19:33:35 +0000
commite36291ef52a30b1c667b78ef76c1980363f8c138 (patch)
treefb9e50fccacbd7a86f31389b988b022eb3ead4fc /gnu/packages/cran.scm
parent5f6a0019339d8ee06a3f0a9bbb5df672179fe57a (diff)
downloadguix-e36291ef52a30b1c667b78ef76c1980363f8c138.tar.gz
gnu: Add r-restrserve.
* gnu/packages/cran.scm (r-restrserve): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 05b1541ec7..fb6507b674 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -2632,6 +2632,36 @@ quantities.")
 @code{melt} and @code{cast}.  This package provides them.")
     (license license:expat)))
 
+(define-public r-restrserve
+  (package
+    (name "r-restrserve")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "RestRserve" version))
+       (sha256
+        (base32 "07mm65yxzpwlg6x3lsggj41v8nl4m6v9mszhqjpgj19v3yxvwgi0"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-checkmate" ,r-checkmate)
+       ("r-jsonlite" ,r-jsonlite)
+       ("r-mime" ,r-mime)
+       ("r-r6" ,r-r6)
+       ("r-rcpp" ,r-rcpp)
+       ("r-rserve" ,r-rserve)
+       ("r-uuid" ,r-uuid)))
+    (native-inputs
+     `(("r-knitr" ,r-knitr)))
+    (home-page "https://restrserve.org")
+    (synopsis "R web API framework")
+    (description
+     "RestRserve is an R web API framework for building high-performance AND
+robust microservices and app backends.  With Rserve backend on UNIX-like
+systems it is parallel by design.  It will handle incoming requests in
+parallel - each request in a separate fork.")
+    (license license:gpl2+)))
+
 (define-public r-progress
   (package
     (name "r-progress")