unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40763] New package: r-rserve
@ 2020-04-22 11:11 Eric Brown
  2020-04-29 22:31 ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Brown @ 2020-04-22 11:11 UTC (permalink / raw)
  To: 40763; +Cc: rekado

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

Dear Guix,

Please see attached diff for Rserve.

Best regards,
Eric


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: r-rserve --]
[-- Type: text/x-patch, Size: 2056 bytes --]

From 41e88e84a22483cb5c1f481b66b51379a1db233b Mon Sep 17 00:00:00 2001
From: Eric Brown <ecbrown@ericcbrown.com>
Date: Wed, 22 Apr 2020 06:04:59 -0500
Subject: [PATCH] gnu: Add r-rserve.

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 70cb7cc700..e92a165607 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -21162,3 +21162,40 @@ evaluated interactively.")
 Bayes factors, posterior model probabilities, and normalizing constants in
 general, via different versions of bridge sampling.")
     (license license:gpl2+)))
+
+(define-public r-rserve
+  (package
+    (name "r-rserve")
+    (version "1.8-6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri "http://www.rforge.net/Rserve/snapshot/Rserve_1.8-6.tar.gz")
+       (sha256
+        (base32
+         "1imz78wa9rphz9ly1wbz4ahdlzcc9hcfbfgdd2pbnpmipbrpg233"))))
+    (propagated-inputs
+     `(("r" ,r)
+       ("r-checkmate" ,r-checkmate)
+       ("r-mime" ,r-mime)
+       ("r-jsonlite" ,r-jsonlite)
+       ("r-knitr" ,r-knitr)
+       ("r-r6" ,r-r6)
+       ("r-rcpp" ,r-rcpp)
+       ("r-uuid" ,r-uuid)))
+    (inputs `(("openssl" ,openssl)
+              ("zlib" ,zlib)))
+    (build-system r-build-system)
+    (home-page "https://github.com/s-u/Rserve")
+    (synopsis
+     "Server providing access to R from many languages and systems")
+    (description
+     "Rserve acts as a socket server (TCP/IP or local sockets) which
+allows binary requests to be sent to R. Every connection has a
+separate workspace and working directory. Client-side implementations
+are available for popular languages such as C/C++ and Java, allowing
+any application to use facilities of R without the need of linking to
+R code. Rserve supports remote connection, user authentication and
+file transfer. A simple R client is included in this package as
+well.")
+    (license license:gpl2)))
-- 
2.26.2


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

* [bug#40763] New package: r-rserve
  2020-04-22 11:11 [bug#40763] New package: r-rserve Eric Brown
@ 2020-04-29 22:31 ` Ricardo Wurmus
  2020-05-12 22:02   ` bug#40763: " Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2020-04-29 22:31 UTC (permalink / raw)
  To: Eric Brown; +Cc: 40763

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


Hi Eric,

> Please see attached diff for Rserve.

Thank you for this patch!

> +(define-public r-rserve
> +  (package
> +    (name "r-rserve")
> +    (version "1.8-6")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri "http://www.rforge.net/Rserve/snapshot/Rserve_1.8-6.tar.gz")

Please use (string-append … version …).

> +       (sha256
> +        (base32
> +         "1imz78wa9rphz9ly1wbz4ahdlzcc9hcfbfgdd2pbnpmipbrpg233"))))

I got a different hash here.  Are we sure this URL is stable?

> +    (propagated-inputs
> +     `(("r" ,r)

This is unusual.  Why should R itself be propagated?

> +       ("r-checkmate" ,r-checkmate)
> +       ("r-mime" ,r-mime)
> +       ("r-jsonlite" ,r-jsonlite)
> +       ("r-knitr" ,r-knitr)
> +       ("r-r6" ,r-r6)
> +       ("r-rcpp" ,r-rcpp)
> +       ("r-uuid" ,r-uuid)))
> +    (inputs `(("openssl" ,openssl)
> +              ("zlib" ,zlib)))
> +    (build-system r-build-system)
> +    (home-page "https://github.com/s-u/Rserve")
> +    (synopsis
> +     "Server providing access to R from many languages and systems")
> +    (description
> +     "Rserve acts as a socket server (TCP/IP or local sockets) which
> +allows binary requests to be sent to R. Every connection has a
> +separate workspace and working directory. Client-side implementations
> +are available for popular languages such as C/C++ and Java, allowing
> +any application to use facilities of R without the need of linking to
> +R code. Rserve supports remote connection, user authentication and
> +file transfer. A simple R client is included in this package as
> +well.")

Please use two spaces after each sentence.

Attached is an updated version of your patch.

-- 
Ricardo


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-r-rserve.patch --]
[-- Type: text/x-patch, Size: 2122 bytes --]

From 747c18d32f2469757cd9ddf75f9cc56b1fb371dc Mon Sep 17 00:00:00 2001
From: Eric Brown <ecbrown@ericcbrown.com>
Date: Wed, 22 Apr 2020 06:04:59 -0500
Subject: [PATCH] gnu: Add r-rserve.

* gnu/packages/cran.scm (r-rserve): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
---
 gnu/packages/cran.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index baf1e0c18a..18829537e8 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -21633,3 +21633,40 @@ infinite-precision rational arithmetic.")
 Archive Toolkit.  Rxnat uses the XNAT REST API to perform data queries and
 download images.")
     (license license:gpl2)))
+
+(define-public r-rserve
+  (package
+    (name "r-rserve")
+    (version "1.8-6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://www.rforge.net/Rserve/snapshot/Rserve_"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "017kkzv9lxlz9qhg3gprrf1wcyflxrif6wjk27x9b4bdzylw6bsx"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-checkmate" ,r-checkmate)
+       ("r-mime" ,r-mime)
+       ("r-jsonlite" ,r-jsonlite)
+       ("r-knitr" ,r-knitr)
+       ("r-r6" ,r-r6)
+       ("r-rcpp" ,r-rcpp)
+       ("r-uuid" ,r-uuid)))
+    (inputs
+     `(("openssl" ,openssl)
+       ("zlib" ,zlib)))
+    (home-page "https://github.com/s-u/Rserve")
+    (synopsis
+     "Server providing access to R from many languages and systems")
+    (description
+     "Rserve acts as a socket server (TCP/IP or local sockets) which allows
+binary requests to be sent to R.  Every connection has a separate workspace
+and working directory.  Client-side implementations are available for popular
+languages such as C/C++ and Java, allowing any application to use facilities
+of R without the need of linking to R code.  Rserve supports remote
+connection, user authentication and file transfer.  A simple R client is
+included in this package as well.")
+    (license license:gpl2)))
-- 
2.25.1


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

* bug#40763: New package: r-rserve
  2020-04-29 22:31 ` Ricardo Wurmus
@ 2020-05-12 22:02   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2020-05-12 22:02 UTC (permalink / raw)
  To: Eric Brown; +Cc: 40763-done


> Attached is an updated version of your patch.

I pushed this updated version with commit
1b73fbdf5e3be0d1a90432b63c5eea2cde8c456d.

--
Ricardo




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

end of thread, other threads:[~2020-05-12 22:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22 11:11 [bug#40763] New package: r-rserve Eric Brown
2020-04-29 22:31 ` Ricardo Wurmus
2020-05-12 22:02   ` bug#40763: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).