From 9ac12e7cb6c03a0b8f5a5acd8842d4f30087e6ae Mon Sep 17 00:00:00 2001 From: Peter Lo Date: Sun, 18 Jul 2021 19:05:46 +0800 Subject: gnu: Add r-rpostgres. * gnu/packages/cran.scm (r-rpostgres): New variable. Co-authored-by: Ricardo Wurmus --- gnu/packages/cran.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu') 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") -- cgit v1.2.3