summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPeter Lo <peterloleungyau@gmail.com>2021-07-18 19:05:46 +0800
committerRicardo Wurmus <rekado@elephly.net>2022-12-29 22:17:05 +0100
commit9ac12e7cb6c03a0b8f5a5acd8842d4f30087e6ae (patch)
treec215d7e9e39f008f0b832e84cae36da47c989c8c /gnu
parent03544dd8e8a1a94e88e097e7442b469f3a999232 (diff)
gnu: Add r-rpostgres.
* gnu/packages/cran.scm (r-rpostgres): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index cf0d801073..96239a351d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6181,6 +6181,38 @@ 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 (list postgresql))
+ (propagated-inputs
+ (list r-bit64
+ r-blob
+ r-dbi
+ r-hms
+ r-lubridate
+ r-plogr
+ r-rcpp
+ r-withr))
+ (native-inputs
+ (list pkg-config r-knitr))
+ (home-page "https://rpostgres.r-dbi.org")
+ (synopsis "Rcpp Interface to PostgreSQL")
+ (description
+ "This package provides a fully @code{DBI}-compliant @code{Rcpp}-backed
+interface to @code{PostgreSQL}, a relational database.")
+ (license license:gpl3)))
+
(define-public r-linprog
(package
(name "r-linprog")