From e36291ef52a30b1c667b78ef76c1980363f8c138 Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Wed, 22 Apr 2020 06:07:14 -0500 Subject: gnu: Add r-restrserve. * gnu/packages/cran.scm (r-restrserve): New variable. Signed-off-by: Christopher Baines --- gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/cran.scm') 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") -- cgit v1.2.3