GNU bug report logs - #68932
[PATCH] gnu: Add r-rpresto.

Previous Next

Package: guix-patches;

Reported by: nafkhamdc <navid.afkhami <at> mdc-berlin.de>

Date: Mon, 5 Feb 2024 10:05:01 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68932 in the body.
You can then email your comments to 68932 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#68932; Package guix-patches. (Mon, 05 Feb 2024 10:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to nafkhamdc <navid.afkhami <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 05 Feb 2024 10:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: nafkhamdc <navid.afkhami <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Cc: nafkhamdc <navid.afkhami <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add r-rpresto.
Date: Mon, 5 Feb 2024 10:04:08 +0000
* gnu/packages/cran.scm (r-rpresto): New variable.

Change-Id: I81b0e43ca75ab2df36f67367bfc73c4893be1a30
---
 gnu/packages/cran.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 842946e766..fecf77580c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1411,6 +1411,43 @@ (define-public r-pma
 canonical correlation analysis.")
     (license license:gpl2+)))
 
+(define-public r-rpresto
+  (package
+    (name "r-rpresto")
+    (version "1.4.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "RPresto" version))
+       (sha256
+        (base32 "1q8c3h328iwscnayxj8qc71s2hkqdqwnpf38kn3zz3ks66qzjf8c"))))
+    (properties `((upstream-name . "RPresto")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-bit64
+                             r-dbi
+                             r-dbplyr
+                             r-dplyr
+                             r-httr
+                             r-jsonlite
+                             r-lifecycle
+                             r-lubridate
+                             r-openssl
+                             r-progress
+                             r-purrr
+                             r-rlang
+                             r-stringi
+                             r-tibble
+                             r-vctrs))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/prestodb/RPresto")
+    (synopsis "DBI connector to Presto")
+    (description
+     "This package implements a DBI compliant interface to Presto.
+Presto is an open source distributed SQL query engine for running
+interactive analytic queries against data sources of all sizes
+ranging from gigabytes to petabytes.")
+    (license license:bsd-3)))
+
 (define-public r-prettydoc
   (package
     (name "r-prettydoc")

base-commit: 5a806face508cdfcd91e1eb1afb3ec38c002ec92
-- 
2.34.1





Information forwarded to rekado <at> elephly.net, guix-patches <at> gnu.org:
bug#68932; Package guix-patches. (Sat, 24 Feb 2024 09:46:01 GMT) Full text and rfc822 format available.

Message #8 received at 68932 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 68932 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>,
 nafkhamdc <navid.afkhami <at> mdc-berlin.de>
Subject: [PATCH v2 1/1] gnu: Add r-rpresto.
Date: Sat, 24 Feb 2024 09:43:30 +0000
From: nafkhamdc <navid.afkhami <at> mdc-berlin.de>

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

Change-Id: I81b0e43ca75ab2df36f67367bfc73c4893be1a30
Signed-off-by: Sharlatan Hellseher <sharlatanus <at> gmail.com>
---
 gnu/packages/cran.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index fb053074a1..23cf64ee36 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -37,6 +37,7 @@
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv <at> posteo.net>
 ;;; Copyright © 2022, 2023 Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
 ;;; Copyright © 2022 Greg Hogan <code <at> greghogan.com>
+;;; Copyright © 2024 nafkhamdc <navid.afkhami <at> mdc-berlin.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1495,6 +1496,44 @@ (define-public r-pma
 canonical correlation analysis.")
     (license license:gpl2+)))
 
+(define-public r-rpresto
+  (package
+    (name "r-rpresto")
+    (version "1.4.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "RPresto" version))
+       (sha256
+        (base32 "1q8c3h328iwscnayxj8qc71s2hkqdqwnpf38kn3zz3ks66qzjf8c"))))
+    (properties `((upstream-name . "RPresto")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-bit64
+           r-dbi
+           r-dbplyr
+           r-dplyr
+           r-httr
+           r-jsonlite
+           r-lifecycle
+           r-lubridate
+           r-openssl
+           r-progress
+           r-purrr
+           r-rlang
+           r-stringi
+           r-tibble
+           r-vctrs))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/prestodb/RPresto")
+    (synopsis "DBI connector to Presto")
+    (description
+     "This package implements a DBI compliant interface to
+@url{https://prestodb.io/, Presto} - a distributed SQL query engine for
+running interactive analytic queries against data sources of all sizes ranging
+from gigabytes to petabytes.")
+    (license license:bsd-3)))
+
 (define-public r-prettydoc
   (package
     (name "r-prettydoc")
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#68932; Package guix-patches. (Sat, 24 Feb 2024 10:09:02 GMT) Full text and rfc822 format available.

Message #11 received at 68932 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 68932 <at> debbugs.gnu.org 
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH] gnu: Add r-rpresto.
Date: Sat, 24 Feb 2024 09:58:28 +0000
[Message part 1 (text/plain, inline)]
Hi,

CC'd Ricardo to check license acceptance.

I've checked the package for lint/build, add copyright header, slightly
adjust description and re-indent propagated inputs. When I've been
checking license on CRAN and project's VCS page I noticed this
statement:

https://cran.r-project.org/web/packages/RPresto/index.html
--8<---------------cut here---------------start------------->8---
License:        BSD_3_clause + file LICENSE
Copyright:      Meta Platforms, Inc. 2015-present.
--8<---------------cut here---------------end--------------->8---

https://github.com/prestodb/RPresto/blob/master/LICENSE
--8<---------------cut here---------------start------------->8---
YEAR: 2015-present
COPYRIGHT HOLDER: Meta Platforms, Inc. and affiliates. All rights reserved.
ORGANIZATION: Meta Platforms, Inc. and affiliates
--8<---------------cut here---------------end--------------->8---

Sending v2 of the patch with minor modifications.

nafkhamdc (1):
  gnu: Add r-rpresto.

 gnu/packages/cran.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)


base-commit: c0f88cd18649c31c75bcddf8247b14ef3e3a66a5
--
2.41.0
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Sun, 25 Feb 2024 09:27:02 GMT) Full text and rfc822 format available.

Notification sent to nafkhamdc <navid.afkhami <at> mdc-berlin.de>:
bug acknowledged by developer. (Sun, 25 Feb 2024 09:27:02 GMT) Full text and rfc822 format available.

Message #16 received at 68932-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 68932-done <at> debbugs.gnu.org, nafkhamdc <navid.afkhami <at> mdc-berlin.de>
Subject: Re: [PATCH] gnu: Add r-rpresto.
Date: Sun, 25 Feb 2024 10:26:09 +0100
Thanks for the review.  I applied it.

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 24 Mar 2024 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 124 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.