Subject: bug#49618: closed ([PATCH] gnu: Add r-rpostgres.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 29 Dec 2022 21:26:03 +0000

Your bug report

#49618: [PATCH] gnu: Add r-rpostgres.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
49618: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49618
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH] gnu: Add r-rpostgres.
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Thu, 29 Dec 2022 22:24:36 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Sorry I didn’t see this earlier.  I applied it after changing the
description and upgrading the inputs to the new style.

Thanks!

-- 
Ricardo

Subject: [PATCH] gnu: Add r-rpostgres.
From: Peter Lo <[email-masked]>
To: [email-masked]
Cc: Peter Lo <[email-masked]>
Date: Sun, 18 Jul 2021 19:05:46 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 14177e3a23..203c49c9ca 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4484,6 +4484,41 @@ to access PostgreSQL database systems.")
     ;; under the PostgreSQL license.
     (license license:gpl2)))
 
+(define-public r-rpostgres
+  (package
+    (name "r-rpostgres")
+    (version "1.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "RPostgres" version))
+       (sha256
+        (base32
+         "0a3f7l1c0q732g8shys6g8f3nq2y3q7p840i0wdbyq0i243srfz0"))))
+    (properties `((upstream-name . "RPostgres")))
+    (build-system r-build-system)
+    (inputs
+     `(("postgresql" ,postgresql)))
+    (propagated-inputs
+     `(("r-bit64" ,r-bit64)
+       ("r-blob" ,r-blob)
+       ("r-dbi" ,r-dbi)
+       ("r-hms" ,r-hms)
+       ("r-lubridate" ,r-lubridate)
+       ("r-plogr" ,r-plogr)
+       ("r-rcpp" ,r-rcpp)
+       ("r-withr" ,r-withr)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("r-knitr" ,r-knitr)))
+    (home-page "https://rpostgres.r-dbi.org")
+    (synopsis "Rcpp Interface to PostgreSQL")
+    (description
+     "Fully @code{DBI}-compliant @code{Rcpp}-backed interface to
+@code{PostgreSQL} <https://www.postgresql.org/>, an open-source relational
+database.")
+    (license license:gpl3)))
+
 (define-public r-linprog
   (package
     (name "r-linprog")
-- 
2.31.1