From patchwork Wed Apr 29 22:31:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 21765 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 87FB027BBE4; Wed, 29 Apr 2020 23:33:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) by mira.cbaines.net (Postfix) with ESMTP id 08FDF27BBE1 for ; Wed, 29 Apr 2020 23:33:14 +0100 (BST) Received: from localhost ([::1]:35938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTvGT-0000Jb-Ji for patchwork@mira.cbaines.net; Wed, 29 Apr 2020 18:33:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38298) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTvGD-0000Fj-6c for guix-patches@gnu.org; Wed, 29 Apr 2020 18:32:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTvFL-0002BA-Cz for guix-patches@gnu.org; Wed, 29 Apr 2020 18:32:56 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTvFK-00029P-Vj for guix-patches@gnu.org; Wed, 29 Apr 2020 18:32:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jTvFK-0000vX-T7 for guix-patches@gnu.org; Wed, 29 Apr 2020 18:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40763] New package: r-rserve Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Apr 2020 22:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40763 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Eric Brown Cc: 40763@debbugs.gnu.org Received: via spool by 40763-submit@debbugs.gnu.org id=B40763.15881995163543 (code B ref 40763); Wed, 29 Apr 2020 22:32:02 +0000 Received: (at 40763) by debbugs.gnu.org; 29 Apr 2020 22:31:56 +0000 Received: from localhost ([127.0.0.1]:44843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTvFD-0000v4-N2 for submit@debbugs.gnu.org; Wed, 29 Apr 2020 18:31:56 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTvF9-0000ul-U2 for 40763@debbugs.gnu.org; Wed, 29 Apr 2020 18:31:53 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1588199508; cv=none; d=zohomail.com; s=zohoarc; b=TmspGe/ttGcV9eMs87lrrvg0eNDomczID5f56HkGZdyH59Fq4cYzp50cmi63uASmpqDstuYtQOxVqYPu/RKv5fNPRjOwbYMMkhSx2f3sRWcM/v81YIc/tMwcqQq2KjHgavXzCRPqo4jTWH2uTromaJjArMgUY9xP7wLQE9iZv+0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588199508; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=a9E58ZQgCCRGewRL0fd5OEvBc0nzlrzNReOcYCqYTk8=; b=GvxPq1ekV4ZL8CcvlTe4lmRu5C9turvf3uAY+690pgVqHcq8hqTQRsWpdoyAmD+iVF6Qm7eCdw/6XR6x4WYOO6twXt0ZMNbr9iY0wxjto2NhZVm2RX7E5CkfjSxGbl2mCqLbsOKLgWWGM2DjEjpRxJF3cg7nzbJoM1lMB90vrxk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1588199508; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; bh=a9E58ZQgCCRGewRL0fd5OEvBc0nzlrzNReOcYCqYTk8=; b=Tgl7MS+2w0STfzr0BD58x2e3kRSJDcQi7sQMGolwQy3Ete2pl/s7/53ESNxAs/qA q3SRdORWpHxV6vLhwA3Rg0ujw8ka0HIPuqZOBy9iHBU+wn+bFs2gRTOEGADYP25HsOY G38eCo2rB5XhNM49EUSfbyHO7unvVJ7gt2UHP+UM= Received: from localhost (p54AD4F43.dip0.t-ipconnect.de [84.173.79.67]) by mx.zohomail.com with SMTPS id 1588199505964201.5602099710096; Wed, 29 Apr 2020 15:31:45 -0700 (PDT) References: <87tv1bpygm.fsf@ericcbrown.com> User-agent: mu4e 1.2.0; emacs 26.3 From: Ricardo Wurmus In-reply-to: <87tv1bpygm.fsf@ericcbrown.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 30 Apr 2020 00:31:42 +0200 Message-ID: <87d07p6i0h.fsf@elephly.net> MIME-Version: 1.0 X-ZohoMailClient: External X-Zoho-Virus-Status: 1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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. From 747c18d32f2469757cd9ddf75f9cc56b1fb371dc Mon Sep 17 00:00:00 2001 From: Eric Brown 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 --- 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