summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-11-06 13:35:15 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-11 20:18:00 +0000
commit1bf145eee314d9ca6c1908cf22687edb8a517553 (patch)
treeaedde275ce02a8596fb05747465b36115fdbc4a1 /gnu/packages
parent629df7b1e453e8872b6e42465f6c3a32aa348914 (diff)
gnu: r-duckdb: Move to duckdb.
* gnu/packages/cran.scm (r-duckdb): Move from here ... * gnu/packages/duckdb.scm: ... to here. Change-Id: Ic735854106fd0b0e693105183b7408d447de882c
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cran.scm48
-rw-r--r--gnu/packages/duckdb.scm53
2 files changed, 53 insertions, 48 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 1fd9a4131ee..c861fe6ac80 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -78,6 +78,7 @@
78 #:use-module (gnu packages crypto) 78 #:use-module (gnu packages crypto)
79 #:use-module (gnu packages curl) 79 #:use-module (gnu packages curl)
80 #:use-module (gnu packages databases) 80 #:use-module (gnu packages databases)
81 #:use-module (gnu packages duckdb)
81 #:use-module (gnu packages fontutils) 82 #:use-module (gnu packages fontutils)
82 #:use-module (gnu packages fribidi) 83 #:use-module (gnu packages fribidi)
83 #:use-module (gnu packages gawk) 84 #:use-module (gnu packages gawk)
@@ -41891,53 +41892,6 @@ floating point chromosomes.")
41891forest) is fit on the kernel matrix of a subset of the training data.") 41892forest) is fit on the kernel matrix of a subset of the training data.")
41892 (license license:gpl2+))) 41893 (license license:gpl2+)))
41893 41894
41894(define-public r-duckdb
41895 (package
41896 (name "r-duckdb")
41897 (version "1.2.2")
41898 (source
41899 (origin
41900 (method url-fetch)
41901 (uri (cran-uri "duckdb" version))
41902 (sha256
41903 (base32 "161zxianyssvsrd2345v4bi1m2z7wj614z8343jb73vhlk6s9yyi"))
41904 ;; This package bundles the duckdb sources and builds a custom variant
41905 ;; of duckdb. I'd be happy to link it with our duckdb library instead,
41906 ;; but it does not seem possible to do that.
41907 #;
41908 (snippet
41909 '(delete-file "src/duckdb.tar.xz"))))
41910 (properties
41911 '((upstream-name . "duckdb")
41912 (updater-extra-native-inputs . ("tzdata-for-tests"))
41913 ;; We don't seem to need this and I don't want to package it now.
41914 (updater-ignored-native-inputs . ("r-dblog"))))
41915 (build-system r-build-system)
41916 (arguments (list #:tests? #false)) ;tests can time out on the build farm
41917 (propagated-inputs (list r-dbi))
41918 (native-inputs (list r-adbcdrivermanager
41919 r-arrow
41920 r-bit64
41921 r-callr
41922 r-clock
41923 r-dbitest
41924 r-dbplyr
41925 r-dplyr
41926 r-remotes
41927 r-rlang
41928 r-testthat
41929 r-tibble
41930 r-vctrs
41931 r-withr
41932 tzdata-for-tests))
41933 (home-page "https://r.duckdb.org/")
41934 (synopsis "DBI package for the DuckDB database management system")
41935 (description
41936 "The DuckDB project is an embedded analytical data management system with
41937support for the Structured Query Language (SQL). This package includes all of
41938DuckDB and an R Database Interface (DBI) connector.")
41939 (license license:expat)))
41940
41941(define-public r-dummies 41895(define-public r-dummies
41942 (package 41896 (package
41943 (name "r-dummies") 41897 (name "r-dummies")
diff --git a/gnu/packages/duckdb.scm b/gnu/packages/duckdb.scm
index de7c4e160e0..872f927c2e9 100644
--- a/gnu/packages/duckdb.scm
+++ b/gnu/packages/duckdb.scm
@@ -26,16 +26,20 @@
26 #:use-module (guix build-system cmake) 26 #:use-module (guix build-system cmake)
27 #:use-module (guix build-system pyproject) 27 #:use-module (guix build-system pyproject)
28 #:use-module ((guix build-system python) #:select (pypi-uri)) 28 #:use-module ((guix build-system python) #:select (pypi-uri))
29 #:use-module (guix build-system r)
29 #:use-module (guix download) 30 #:use-module (guix download)
30 #:use-module (guix gexp) 31 #:use-module (guix gexp)
31 #:use-module (guix git-download) 32 #:use-module (guix git-download)
32 #:use-module (guix packages) 33 #:use-module (guix packages)
33 #:use-module (guix utils) 34 #:use-module (guix utils)
34 #:use-module (gnu packages) 35 #:use-module (gnu packages)
36 #:use-module (gnu packages base)
37 #:use-module (gnu packages cran)
35 #:use-module (gnu packages databases) 38 #:use-module (gnu packages databases)
36 #:use-module (gnu packages python-build) 39 #:use-module (gnu packages python-build)
37 #:use-module (gnu packages python-science) 40 #:use-module (gnu packages python-science)
38 #:use-module (gnu packages python-xyz)) 41 #:use-module (gnu packages python-xyz)
42 #:use-module (gnu packages statistics))
39 43
40;;; Commentary: 44;;; Commentary:
41;;; 45;;;
@@ -141,6 +145,53 @@ single-file databases with support for secondary indexes.")
141system.") 145system.")
142 (license license:expat))) 146 (license license:expat)))
143 147
148(define-public r-duckdb
149 (package
150 (name "r-duckdb")
151 (version "1.2.2")
152 (source
153 (origin
154 (method url-fetch)
155 (uri (cran-uri "duckdb" version))
156 (sha256
157 (base32 "161zxianyssvsrd2345v4bi1m2z7wj614z8343jb73vhlk6s9yyi"))
158 ;; This package bundles the duckdb sources and builds a custom variant
159 ;; of duckdb. I'd be happy to link it with our duckdb library instead,
160 ;; but it does not seem possible to do that.
161 #;
162 (snippet
163 '(delete-file "src/duckdb.tar.xz"))))
164 (properties
165 '((upstream-name . "duckdb")
166 (updater-extra-native-inputs . ("tzdata-for-tests"))
167 ;; We don't seem to need this and I don't want to package it now.
168 (updater-ignored-native-inputs . ("r-dblog"))))
169 (build-system r-build-system)
170 (arguments (list #:tests? #false)) ;tests can time out on the build farm
171 (propagated-inputs (list r-dbi))
172 (native-inputs (list r-adbcdrivermanager
173 r-arrow
174 r-bit64
175 r-callr
176 r-clock
177 r-dbitest
178 r-dbplyr
179 r-dplyr
180 r-remotes
181 r-rlang
182 r-testthat
183 r-tibble
184 r-vctrs
185 r-withr
186 tzdata-for-tests))
187 (home-page "https://r.duckdb.org/")
188 (synopsis "DBI package for the DuckDB database management system")
189 (description
190 "The DuckDB project is an embedded analytical data management system with
191support for the Structured Query Language (SQL). This package includes all of
192DuckDB and an R Database Interface (DBI) connector.")
193 (license license:expat)))
194
144;;; 195;;;
145;;; Avoid adding new packages to the end of this file. To reduce the chances 196;;; Avoid adding new packages to the end of this file. To reduce the chances
146;;; of a merge conflict, place them above in alphabetic order. 197;;; of a merge conflict, place them above in alphabetic order.