all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#48684] [PATCH 3/3]: gnu: Add r-opencpu
@ 2021-05-26 20:52 Sharlatan Hellseher
  2021-05-26 20:54 ` [bug#48684] [PATCH 2/3]: gnu: Add r-protolite Sharlatan Hellseher
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2021-05-26 20:52 UTC (permalink / raw)
  To: 48684

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0003-gnu-Add-r-opencpu.patch --]
[-- Type: text/x-patch, Size: 2427 bytes --]

From 14e98b24842842e4fe5fe78e2cff3fc253f0a515 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Wed, 26 May 2021 21:43:59 +0100
Subject: [PATCH 3/3] gnu: Add r-opencpu

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index e39617efcd..4e84d26784 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -29054,3 +29054,47 @@ time.  The @code{RProtoBuf} package on the other hand uses the protobuf runtime
 library to provide a general- purpose toolkit for reading and writing arbitrary
 protocol-buffer data in R.")
   (license license:expat)))
+
+(define-public r-opencpu
+  (package
+   (name "r-opencpu")
+   (version "2.2.2")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (cran-uri "opencpu" version))
+     (sha256
+      (base32 "0dr3ga8vw10vllqjq6n53dwivvgvzrgrjcn17kmabp620533bj1k"))))
+   (properties `((upstream-name . "opencpu")))
+   (build-system r-build-system)
+   (inputs
+    `(("pandoc" ,pandoc)))
+   (propagated-inputs
+    `(("r-brew" ,r-brew)
+      ("r-curl" ,r-curl)
+      ("r-evaluate" ,r-evaluate)
+      ("r-httpuv" ,r-httpuv)
+      ("r-jsonlite" ,r-jsonlite)
+      ("r-knitr" ,r-knitr)
+      ("r-mime" ,r-mime)
+      ("r-openssl" ,r-openssl)
+      ("r-protolite" ,r-protolite)
+      ("r-rappdirs" ,r-rappdirs)
+      ("r-remotes" ,r-remotes)
+      ("r-sys" ,r-sys)
+      ("r-webutils" ,r-webutils)
+      ("r-zip" ,r-zip)))
+   (native-inputs
+    `(("r-knitr" ,r-knitr)))
+   (home-page "https://www.opencpu.org")
+   (synopsis "API for embedded scientific computing producing reproducing results")
+   (description
+    "This package provides a system for embedded scientific computing and
+reproducible research with R.  The OpenCPU server exposes a simple but powerful
+HTTP api for RPC and data interchange with R.  This provides a reliable and
+scalable foundation for statistical services or building R web applications.  The
+OpenCPU server runs either as a single-user development server within the
+interactive R session, or as a multi-user Linux stack based on Apache2.  The
+entire system is fully open source and permissively licensed.  The OpenCPU
+website has detailed documentation and example apps.")
+   (license license:asl2.0)))
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#48684] [PATCH 2/3]: gnu: Add r-protolite
  2021-05-26 20:52 [bug#48684] [PATCH 3/3]: gnu: Add r-opencpu Sharlatan Hellseher
@ 2021-05-26 20:54 ` Sharlatan Hellseher
  2021-05-26 20:55 ` [bug#48684] [PATCH 1/3]: gnu: Add r-webutils Sharlatan Hellseher
  2021-07-22  9:38 ` bug#48684: [PATCH 3/3]: gnu: Add r-opencpu Ricardo Wurmus
  2 siblings, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2021-05-26 20:54 UTC (permalink / raw)
  To: 48684

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0002-gnu-Add-r-protolite.patch --]
[-- Type: text/x-patch, Size: 2044 bytes --]

From 4730970563155c1f812c814002207d3d25a447b2 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Wed, 26 May 2021 21:42:54 +0100
Subject: [PATCH 2/3] gnu: Add r-protolite

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f7c841ad52..e39617efcd 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -29021,3 +29021,36 @@ complex functions.")
 application/x-www-form-urlencoded format.  Includes example of hosting and
 parsing html form data in R using either @code{httpuv} or @code{Rhttpd}.")
     (license license:expat)))
+
+(define-public r-protolite
+(package
+  (name "r-protolite")
+  (version "2.1")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (cran-uri "protolite" version))
+      (sha256
+        (base32 "0mwpdlpxsxbj4s2s30d0w1h4dsg0j1jzzldh8kvxii9lpfkiv2gz"))))
+  (properties `((upstream-name . "protolite")))
+  (build-system r-build-system)
+  (inputs
+   `(("protobuf" ,protobuf)))
+  (propagated-inputs
+   `(("r-jsonlite" ,r-jsonlite)
+     ("r-rcpp" ,r-rcpp)))
+  (native-inputs
+   `(("protobuf" ,protobuf)
+     ("pkg-config" ,pkg-config)))
+  (home-page "https://github.com/jeroen/protolite")
+  (synopsis "Highly Optimized Protocol Buffer Serializers")
+  (description
+    "Pure C++ implementations for reading and writing several common data
+formats based on Google protocol-buffers.  Currently supports @code{rexp.proto}
+for serialized R objects, @code{geobuf.proto} for binary geojson, and
+@code{mvt.proto} for vector tiles.  This package uses the auto-generated C++ code
+by protobuf-compiler, hence the entire serialization is optimized at compile
+time.  The @code{RProtoBuf} package on the other hand uses the protobuf runtime
+library to provide a general- purpose toolkit for reading and writing arbitrary
+protocol-buffer data in R.")
+  (license license:expat)))
-- 
2.31.1


[-- Attachment #3: 0001-gnu-Add-missing-module-protofub.patch --]
[-- Type: text/x-patch, Size: 745 bytes --]

From e0dc0df9b3f891822c3069b53538492a40ce654b Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Wed, 26 May 2021 21:47:13 +0100
Subject: [PATCH] gnu: Add missing module protofub

---
 gnu/packages/cran.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4e84d26784..fcd3e6bc43 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -96,6 +96,7 @@
   #:use-module (gnu packages pdf)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages protobuf)
   #:use-module (gnu packages pulseaudio)  ;libsndfile
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#48684] [PATCH 1/3]: gnu: Add r-webutils
  2021-05-26 20:52 [bug#48684] [PATCH 3/3]: gnu: Add r-opencpu Sharlatan Hellseher
  2021-05-26 20:54 ` [bug#48684] [PATCH 2/3]: gnu: Add r-protolite Sharlatan Hellseher
@ 2021-05-26 20:55 ` Sharlatan Hellseher
  2021-07-22  9:38 ` bug#48684: [PATCH 3/3]: gnu: Add r-opencpu Ricardo Wurmus
  2 siblings, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2021-05-26 20:55 UTC (permalink / raw)
  To: 48684

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0001-gnu-Add-r-webutils.patch --]
[-- Type: text/x-patch, Size: 1836 bytes --]

From 22f09a7faf4295b76b57a8ff360697b3c3127cfb Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Wed, 26 May 2021 21:41:30 +0100
Subject: [PATCH 1/3] gnu: Add r-webutils

* gnu/packages/cran.scm (r-webutils): 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 19aa2b407b..f7c841ad52 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -34,6 +34,7 @@
 ;;; Copyright © 2020 Simon Tournier <zimon.toutoune@gmail.com>
 ;;; Copyright © 2020 Aniket Patil <aniket112.patil@gmail.com>
 ;;; Copyright © 2021 Tim Howes <timhowes@lavabit.com>
+;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -28997,3 +28998,26 @@ complex functions.")
     (description
       "The Gaussian hypergeometric function for complex numbers.")
     (license license:gpl2)))
+
+(define-public r-webutils
+  (package
+    (name "r-webutils")
+    (version "1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "webutils" version))
+       (sha256
+        (base32 "16a6ds0fnb6y8i1r9ba1hf1ydb53am57s070b3hi5jmrs84b9qik"))))
+    (properties `((upstream-name . "webutils")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-curl" ,r-curl)
+       ("r-jsonlite" ,r-jsonlite)))
+    (home-page "https://github.com/jeroen/webutils")
+    (synopsis "Utility Functions for Developing Web Applications")
+    (description
+     "Parses http request data in application/json, multipart/form-data, or
+application/x-www-form-urlencoded format.  Includes example of hosting and
+parsing html form data in R using either @code{httpuv} or @code{Rhttpd}.")
+    (license license:expat)))
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#48684: [PATCH 3/3]: gnu: Add r-opencpu
  2021-05-26 20:52 [bug#48684] [PATCH 3/3]: gnu: Add r-opencpu Sharlatan Hellseher
  2021-05-26 20:54 ` [bug#48684] [PATCH 2/3]: gnu: Add r-protolite Sharlatan Hellseher
  2021-05-26 20:55 ` [bug#48684] [PATCH 1/3]: gnu: Add r-webutils Sharlatan Hellseher
@ 2021-07-22  9:38 ` Ricardo Wurmus
  2 siblings, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2021-07-22  9:38 UTC (permalink / raw)
  To: 48684-done

Hi,

thanks for the patches.

I rebased them, fixed the indentation, the descriptions, and the 
synopses, and added a missing module import.  I pushed the changes 
with commit 9cfa6c3c587766a310252f4c1271503d819bdd8a.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-22  9:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 20:52 [bug#48684] [PATCH 3/3]: gnu: Add r-opencpu Sharlatan Hellseher
2021-05-26 20:54 ` [bug#48684] [PATCH 2/3]: gnu: Add r-protolite Sharlatan Hellseher
2021-05-26 20:55 ` [bug#48684] [PATCH 1/3]: gnu: Add r-webutils Sharlatan Hellseher
2021-07-22  9:38 ` bug#48684: [PATCH 3/3]: gnu: Add r-opencpu Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.