* [bug#68780] [PATCH 01/19] gnu: Add rust-flatbuffers-23.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
@ 2024-01-26 19:43 ` Troy Figiel
2024-01-26 19:54 ` [bug#68780] [PATCH 02/19] gnu: rust-flatbuffers-2: Don't skip the build Troy Figiel
` (18 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-26 19:43 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-flatbuffers-23): New variable.
(rust-flatbuffers-2): Inherit from rust-flatbuffers-23.
---
gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
1 file changed, 25 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c910c00260..6471ab27bf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22631,8 +22631,32 @@ (define-public rust-flamer-0.4
"A procedural macro to insert @code{flame::start_guard(_)} calls.")
(license license:asl2.0)))
+(define-public rust-flatbuffers-23
+ (package
+ (name "rust-flatbuffers")
+ (version "23.5.26")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "flatbuffers" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0h46mg8yb9igda4ff5dajkzc6k5mf4ix472asqb8rmv24ki57b2d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-rustc-version" ,rust-rustc-version-0.4)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://flatbuffers.dev/")
+ (synopsis "FlatBuffers Rust serialization library")
+ (description
+ "This crates provides FlatBuffers runtime serialization library.")
+ (license license:asl2.0)))
+
(define-public rust-flatbuffers-2
(package
+ (inherit rust-flatbuffers-23)
(name "rust-flatbuffers")
(version "2.0.0")
(source
@@ -22642,18 +22666,12 @@ (define-public rust-flatbuffers-2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1xp5ppif0hvgh9kfvy1199gdmjc3dw1517022l1x3ynpphw5fk7g"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-smallvec" ,rust-smallvec-1)
- ("rust-thiserror" ,rust-thiserror-1))))
- (home-page "https://google.github.io/flatbuffers/")
- (synopsis "FlatBuffers Rust serialization library")
- (description
- "This crates provides FlatBuffers runtime serialization library.")
- (license license:asl2.0)))
+ ("rust-thiserror" ,rust-thiserror-1))))))
(define-public rust-flate2-1
(package
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 02/19] gnu: rust-flatbuffers-2: Don't skip the build.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
2024-01-26 19:43 ` [bug#68780] [PATCH 01/19] gnu: Add rust-flatbuffers-23 Troy Figiel
@ 2024-01-26 19:54 ` Troy Figiel
2024-01-27 14:58 ` [bug#68780] [PATCH 06/19] gnu: Add rust-arrow-schema-47 Troy Figiel
` (17 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-26 19:54 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-flatbuffers-2): Don't skip the build.
---
gnu/packages/crates-io.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6471ab27bf..c5511890a5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22667,8 +22667,7 @@ (define-public rust-flatbuffers-2
(sha256
(base32 "1xp5ppif0hvgh9kfvy1199gdmjc3dw1517022l1x3ynpphw5fk7g"))))
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1))))))
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 06/19] gnu: Add rust-arrow-schema-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
2024-01-26 19:43 ` [bug#68780] [PATCH 01/19] gnu: Add rust-flatbuffers-23 Troy Figiel
2024-01-26 19:54 ` [bug#68780] [PATCH 02/19] gnu: rust-flatbuffers-2: Don't skip the build Troy Figiel
@ 2024-01-27 14:58 ` Troy Figiel
2024-01-27 15:01 ` [bug#68780] [PATCH 07/19] gnu: Add rust-arrow-buffer-47 Troy Figiel
` (16 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-27 14:58 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-schema-47): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c8bcd5520c..0c4c452cc1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2565,6 +2565,31 @@ (define-public rust-arrow-format-0.3
code of Apache Arrow spec.")
(license license:asl2.0)))
+(define-public rust-arrow-schema-47
+ (package
+ (name "rust-arrow-schema")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-schema" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jyfw40m070zj2pv8mp3gvlnzs0mavnzn6qhw19qh5bv26f1f7ax"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Logical types for Apache Arrow arrays")
+ (description "This crate defines the logical types for arrays of the
+Apache Arrow implementation in Rust.")
+ (license license:asl2.0)))
+
(define-public rust-arrow2-0.7
(package
(name "rust-arrow2")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 07/19] gnu: Add rust-arrow-buffer-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (2 preceding siblings ...)
2024-01-27 14:58 ` [bug#68780] [PATCH 06/19] gnu: Add rust-arrow-schema-47 Troy Figiel
@ 2024-01-27 15:01 ` Troy Figiel
2024-01-27 15:05 ` [bug#68780] [PATCH 08/19] gnu: Add rust-arrow-data-47 Troy Figiel
` (15 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-27 15:01 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-buffer-47): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c4c452cc1..db3c4f2017 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2540,6 +2540,32 @@ (define-public rust-arrow-5
format.")
(license license:asl2.0)))
+(define-public rust-arrow-buffer-47
+ (package
+ (name "rust-arrow-buffer")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-buffer" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15b1km7kb7cys2pdxgq1p9syiw7yzf9cch85rcw12504a8i1k8gx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bytes" ,rust-bytes-1)
+ ("rust-half" ,rust-half-2)
+ ("rust-num" ,rust-num-0.4))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Buffer abstractions for Apache Arrow")
+ (description "This crate provides low-level buffer abstractions for the
+Rust implementation of Apache Arrow.")
+ (license license:asl2.0)))
+
(define-public rust-arrow-format-0.3
(package
(name "rust-arrow-format")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 08/19] gnu: Add rust-arrow-data-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (3 preceding siblings ...)
2024-01-27 15:01 ` [bug#68780] [PATCH 07/19] gnu: Add rust-arrow-buffer-47 Troy Figiel
@ 2024-01-27 15:05 ` Troy Figiel
2024-01-27 15:12 ` [bug#68780] [PATCH 03/19] gnu: Add rust-chrono-tz-build-0.2 Troy Figiel
` (14 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-27 15:05 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-data-47): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index db3c4f2017..b1a8badb1a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2566,6 +2566,30 @@ (define-public rust-arrow-buffer-47
Rust implementation of Apache Arrow.")
(license license:asl2.0)))
+(define-public rust-arrow-data-47
+ (package
+ (name "rust-arrow-data")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-data" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fpp09ykg6nb7jcaqnjzga242y7nlrfz3v0wlrf0kd68k4v4qnj7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arrow-buffer" ,rust-arrow-buffer-47)
+ ("rust-arrow-schema" ,rust-arrow-schema-47)
+ ("rust-half" ,rust-half-2)
+ ("rust-num" ,rust-num-0.4))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Low-level array data abstractions for Apache Arrow")
+ (description "This crate contains low-level array data abstractions for
+the Apache Arrow implementation in Rust.")
+ (license license:asl2.0)))
+
(define-public rust-arrow-format-0.3
(package
(name "rust-arrow-format")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 03/19] gnu: Add rust-chrono-tz-build-0.2.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (4 preceding siblings ...)
2024-01-27 15:05 ` [bug#68780] [PATCH 08/19] gnu: Add rust-arrow-data-47 Troy Figiel
@ 2024-01-27 15:12 ` Troy Figiel
2024-01-27 15:20 ` [bug#68780] [PATCH 04/19] gnu: Add rust-chrono-tz-0.8 Troy Figiel
` (13 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-27 15:12 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-chrono-tz-build-0.2): New variable.
(rust-chrono-tz-build-0.0.3): Inherit from rust-chrono-tz-build-0.2.
---
gnu/packages/crates-io.scm | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c5511890a5..3825e14115 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9945,17 +9945,17 @@ (define-public rust-chrono-tz-0.5
("rust-parse-zoneinfo" ,rust-parse-zoneinfo-0.3)
("rust-serde" ,rust-serde-1))))))
-(define-public rust-chrono-tz-build-0.0.3
+(define-public rust-chrono-tz-build-0.2
(package
(name "rust-chrono-tz-build")
- (version "0.0.3")
+ (version "0.2.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "chrono-tz-build" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "031s51dd2vbxdhz7fxk1jpbbvr800w57an14bsq3fd5khwx9ql3g"))))
+ (base32 "03rmzd69cn7fp0fgkjr5042b3g54s2l941afjm3001ls7kqkjgj3"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -9971,6 +9971,19 @@ (define-public rust-chrono-tz-build-0.0.3
chrono-tz Rust crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-chrono-tz-build-0.0.3
+ (package
+ (inherit rust-chrono-tz-build-0.2)
+ (name "rust-chrono-tz-build")
+ (version "0.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chrono-tz-build" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "031s51dd2vbxdhz7fxk1jpbbvr800w57an14bsq3fd5khwx9ql3g"))))))
+
(define-public rust-chumsky-0.9
(package
(name "rust-chumsky")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 04/19] gnu: Add rust-chrono-tz-0.8.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (5 preceding siblings ...)
2024-01-27 15:12 ` [bug#68780] [PATCH 03/19] gnu: Add rust-chrono-tz-build-0.2 Troy Figiel
@ 2024-01-27 15:20 ` Troy Figiel
2024-01-27 15:27 ` [bug#68780] [PATCH 09/19] gnu: Add rust-arrow-array-47 Troy Figiel
` (12 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-27 15:20 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-chrono-tz-0.8): New variable.
(rust-chrono-tz-0.6): Inherit from rust-chrono-tz-0.8.
---
gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++--------
1 file changed, 32 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3825e14115..02cfe3c531 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9894,8 +9894,39 @@ (define-public rust-chrono-humanize-0.2
Python @code{arrow.humanize}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-chrono-tz-0.8
+ (package
+ (name "rust-chrono-tz")
+ (version "0.8.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chrono-tz" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dv0yqhr60wrhm4sdlralqw1jf5plcxc91q6v93hvamzk6gbgmwi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-chrono-tz-build" ,rust-chrono-tz-build-0.2)
+ ("rust-phf" ,rust-phf-0.11)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-uncased" ,rust-uncased-0.9))
+ #:cargo-development-inputs
+ (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-serde-test" ,rust-serde-test-1))))
+ (home-page "https://github.com/chronotope/chrono-tz")
+ (synopsis "TimeZone implementations for rust-chrono from the IANA database")
+ (description
+ "Chrono-TZ is a library that provides implementors of the TimeZone trait
+for @code{rust-chrono}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-chrono-tz-0.6
(package
+ (inherit rust-chrono-tz-0.8)
(name "rust-chrono-tz")
(version "0.6.3")
(source
@@ -9905,7 +9936,6 @@ (define-public rust-chrono-tz-0.6
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1pmv434fhw9pwiqc12pvgaiskrq4v1dh1f238gfsg48r301r5hr9"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
(list "--release" "--"
@@ -9918,13 +9948,7 @@ (define-public rust-chrono-tz-0.6
("rust-uncased" ,rust-uncased-0.9))
#:cargo-development-inputs
(("rust-chrono" ,rust-chrono-0.4)
- ("rust-serde-test" ,rust-serde-test-1))))
- (home-page "https://github.com/chronotope/chrono-tz")
- (synopsis "TimeZone implementations for rust-chrono from the IANA database")
- (description
- "Chrono-TZ is a library that provides implementors of the TimeZone trait
-for @code{rust-chrono}.")
- (license (list license:expat license:asl2.0))))
+ ("rust-serde-test" ,rust-serde-test-1))))))
(define-public rust-chrono-tz-0.5
(package
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 09/19] gnu: Add rust-arrow-array-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (6 preceding siblings ...)
2024-01-27 15:20 ` [bug#68780] [PATCH 04/19] gnu: Add rust-chrono-tz-0.8 Troy Figiel
@ 2024-01-27 15:27 ` Troy Figiel
2024-01-27 15:39 ` [bug#68780] [PATCH 10/19] gnu: Add rust-arrow-select-47 Troy Figiel
` (11 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-27 15:27 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-array-47): New variable.
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b1a8badb1a..5121bd71d0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2540,6 +2540,41 @@ (define-public rust-arrow-5
format.")
(license license:asl2.0)))
+(define-public rust-arrow-array-47
+ (package
+ (name "rust-arrow-array")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-array" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "139iwhc3j8mcn6avgjl4k3sc7g43kq92m02fbba05qgdadrglbnh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.8)
+ ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+ ("rust-arrow-data" ,rust-arrow-data-47)
+ ("rust-arrow-schema" ,rust-arrow-schema-47)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-chrono-tz" ,rust-chrono-tz-0.8)
+ ("rust-half" ,rust-half-2)
+ ("rust-hashbrown" ,rust-hashbrown-0.14)
+ ("rust-num" ,rust-num-0.4)
+ ("rust-packed-simd" ,rust-packed-simd-0.3))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Array abstractions for Apache Arrow")
+ (description "The central type in Apache Arrow are arrays, which are a
+known-length sequence of values all having the same type. This crate provides
+concrete implementations of each type, as well as an @code{Array} trait that
+can be used for type-erasure.")
+ (license license:asl2.0)))
+
(define-public rust-arrow-buffer-47
(package
(name "rust-arrow-buffer")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 10/19] gnu: Add rust-arrow-select-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (7 preceding siblings ...)
2024-01-27 15:27 ` [bug#68780] [PATCH 09/19] gnu: Add rust-arrow-array-47 Troy Figiel
@ 2024-01-27 15:39 ` Troy Figiel
2024-01-27 15:43 ` [bug#68780] [PATCH 11/19] gnu: Add rust-arrow-string-47 Troy Figiel
` (10 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-27 15:39 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-select-47): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5121bd71d0..a0fa93339d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2675,6 +2675,35 @@ (define-public rust-arrow-schema-47
Apache Arrow implementation in Rust.")
(license license:asl2.0)))
+(define-public rust-arrow-select-47
+ (package
+ (name "rust-arrow-select")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-select" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0231igp3fihf2kz1s9i2k6vhnlpmg662gr9rn6fpxrh26801xiym"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.8)
+ ("rust-arrow-array" ,rust-arrow-array-47)
+ ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+ ("rust-arrow-data" ,rust-arrow-data-47)
+ ("rust-arrow-schema" ,rust-arrow-schema-47)
+ ("rust-num" ,rust-num-0.4))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Selection kernels for Apache Arrow arrays")
+ (description "This crate provides various selection kernels for Apache
+Arrow arrays. Examples include @code{filter}, @code{concat} and @code{take}
+kernels, as well as @code{window} functions such as shifting.")
+ (license license:asl2.0)))
+
(define-public rust-arrow2-0.7
(package
(name "rust-arrow2")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 11/19] gnu: Add rust-arrow-string-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (8 preceding siblings ...)
2024-01-27 15:39 ` [bug#68780] [PATCH 10/19] gnu: Add rust-arrow-select-47 Troy Figiel
@ 2024-01-27 15:43 ` Troy Figiel
2024-01-27 15:49 ` [bug#68780] [PATCH 12/19] gnu: Add rust-arrow-ord-47 Troy Figiel
` (9 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-27 15:43 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-string-47): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a0fa93339d..fcceb882a8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2704,6 +2704,35 @@ (define-public rust-arrow-select-47
kernels, as well as @code{window} functions such as shifting.")
(license license:asl2.0)))
+(define-public rust-arrow-string-47
+ (package
+ (name "rust-arrow-string")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-string" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ar1njf4biff3ylpyk2m2bhvqmsywl9akagljm429ffnharbpkn4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arrow-array" ,rust-arrow-array-47)
+ ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+ ("rust-arrow-data" ,rust-arrow-data-47)
+ ("rust-arrow-schema" ,rust-arrow-schema-47)
+ ("rust-arrow-select" ,rust-arrow-select-47)
+ ("rust-num" ,rust-num-0.4)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.7))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "String kernels for Apache Arrow arrays")
+ (description "This crate provides various string kernels for Apache Arrow
+arrays. Examples include @code{concat_elements}, @code{length}, @code{like},
+@code{regexp} and @code{substring} kernels.")
+ (license license:asl2.0)))
+
(define-public rust-arrow2-0.7
(package
(name "rust-arrow2")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 12/19] gnu: Add rust-arrow-ord-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (9 preceding siblings ...)
2024-01-27 15:43 ` [bug#68780] [PATCH 11/19] gnu: Add rust-arrow-string-47 Troy Figiel
@ 2024-01-27 15:49 ` Troy Figiel
2024-01-27 15:53 ` [bug#68780] [PATCH 05/19] gnu: Add rust-comfy-table-7 Troy Figiel
` (8 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-27 15:49 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-ord-47): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fcceb882a8..ecf50bc1ae 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2650,6 +2650,36 @@ (define-public rust-arrow-format-0.3
code of Apache Arrow spec.")
(license license:asl2.0)))
+(define-public rust-arrow-ord-47
+ (package
+ (name "rust-arrow-ord")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-ord" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1x3irbymxic9hjaakq0rvkcqxj1jq2hfpclywh066spa12j7mf03"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arrow-array" ,rust-arrow-array-47)
+ ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+ ("rust-arrow-data" ,rust-arrow-data-47)
+ ("rust-arrow-schema" ,rust-arrow-schema-47)
+ ("rust-arrow-select" ,rust-arrow-select-47)
+ ("rust-half" ,rust-half-2)
+ ("rust-num" ,rust-num-0.4))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Ordering kernels for Apache Arrow arrays")
+ (description "This crate provides various ordering kernels for Apache
+Arrow arrays. Examples include @code{cmp}, @code{ord}, @code{partition},
+@code{rank} and @code{sort} kernels.")
+ (license license:asl2.0)))
+
(define-public rust-arrow-schema-47
(package
(name "rust-arrow-schema")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 05/19] gnu: Add rust-comfy-table-7.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (10 preceding siblings ...)
2024-01-27 15:49 ` [bug#68780] [PATCH 12/19] gnu: Add rust-arrow-ord-47 Troy Figiel
@ 2024-01-27 15:53 ` Troy Figiel
2024-01-27 16:09 ` [bug#68780] [PATCH 13/19] gnu: Add rust-arrow-cast-47 Troy Figiel
` (7 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-27 15:53 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-comfy-table-7): New variable.
(rust-comfy-table-4): Inherit from rust-comfy-table-7.
---
gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++--------
1 file changed, 34 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 02cfe3c531..c8bcd5520c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11548,8 +11548,41 @@ (define-public rust-combine-regex-1-1
and 1.0.")
(license (list license:expat license:asl2.0))))
+(define-public rust-comfy-table-7
+ (package
+ (name "rust-comfy-table")
+ (version "7.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "comfy-table" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11i6sm6vznv9982hqpbrba43vfd7vv7zqzlywdc4qykvdhyh8r3w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-console" ,rust-console-0.15)
+ ("rust-crossterm" ,rust-crossterm-0.27)
+ ("rust-strum" ,rust-strum-0.25)
+ ("rust-strum-macros" ,rust-strum-macros-0.25)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rstest" ,rust-rstest-0.18))))
+ (home-page "https://github.com/nukesor/comfy-table")
+ (synopsis "Library for building tables with automatic content wrapping")
+ (description
+ "Comfy-tables is an utility for building tables with automatic content
+wrapping.")
+ (license license:expat)))
+
(define-public rust-comfy-table-4
(package
+ (inherit rust-comfy-table-7)
(name "rust-comfy-table")
(version "4.1.1")
(source
@@ -11559,20 +11592,13 @@ (define-public rust-comfy-table-4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1wzk894p2s725cpdip5968ydb50zczsl34040j6zs8klhqz5ms8i"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-crossterm" ,rust-crossterm-0.20)
("rust-strum" ,rust-strum-0.21)
("rust-strum-macros" ,rust-strum-macros-0.21)
- ("rust-unicode-width" ,rust-unicode-width-0.1))))
- (home-page "https://github.com/nukesor/comfy-table")
- (synopsis "Library for building tables with automatic content wrapping")
- (description
- "Comfy-tables is an utility for building tables with automatic content
-wrapping.")
- (license license:expat)))
+ ("rust-unicode-width" ,rust-unicode-width-0.1))))))
(define-public rust-comfy-table-1
(package
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 13/19] gnu: Add rust-arrow-cast-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (11 preceding siblings ...)
2024-01-27 15:53 ` [bug#68780] [PATCH 05/19] gnu: Add rust-comfy-table-7 Troy Figiel
@ 2024-01-27 16:09 ` Troy Figiel
2024-01-28 8:25 ` [bug#68780] [PATCH 14/19] gnu: Add rust-arrow-json-47 Troy Figiel
` (6 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-27 16:09 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-cast-47): New variable.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ecf50bc1ae..0029223871 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2601,6 +2601,40 @@ (define-public rust-arrow-buffer-47
Rust implementation of Apache Arrow.")
(license license:asl2.0)))
+(define-public rust-arrow-cast-47
+ (package
+ (name "rust-arrow-cast")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-cast" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vjdr0gqln3x60jlwan6vfb6f1alhww95by51gani24np58mv0hx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arrow-array" ,rust-arrow-array-47)
+ ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+ ("rust-arrow-data" ,rust-arrow-data-47)
+ ("rust-arrow-schema" ,rust-arrow-schema-47)
+ ("rust-arrow-select" ,rust-arrow-select-47)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-comfy-table" ,rust-comfy-table-7)
+ ("rust-half" ,rust-half-2)
+ ("rust-lexical-core" ,rust-lexical-core-0.8)
+ ("rust-num" ,rust-num-0.4))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-half" ,rust-half-2))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Cast kernels and utilities for Apache Arrow")
+ (description "This crate provides typecasting kernels and other utilities
+for Apache Arrow, such as prettyprinting, parsing, and Base64 encoding and
+decoding.")
+ (license license:asl2.0)))
+
(define-public rust-arrow-data-47
(package
(name "rust-arrow-data")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 14/19] gnu: Add rust-arrow-json-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (12 preceding siblings ...)
2024-01-27 16:09 ` [bug#68780] [PATCH 13/19] gnu: Add rust-arrow-cast-47 Troy Figiel
@ 2024-01-28 8:25 ` Troy Figiel
2024-01-28 8:38 ` [bug#68780] [PATCH 15/19] gnu: Add rust-arrow-csv-47 Troy Figiel
` (5 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-28 8:25 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-json-47): New variable.
---
gnu/packages/crates-io.scm | 67 ++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0029223871..ac857f6934 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2684,6 +2684,73 @@ (define-public rust-arrow-format-0.3
code of Apache Arrow spec.")
(license license:asl2.0)))
+(define-public rust-arrow-json-47
+ (package
+ (name "rust-arrow-json")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-json" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "175ncx809i6gq7i4xr03kxkk3f2nxnd49zjlqg78qs6x0hxpwggh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ ;; Test fixtures are not included in the crate tarball. We need to skip
+ ;; the tests that require these.
+ '("--release"
+ ;; Skip the doctests, since some of these also depend on the test
+ ;; fixtures.
+ "--lib" "--bins" "--tests"
+ "--"
+ "--exact"
+ "--skip=reader::schema::tests::test_json_infer_schema"
+ "--skip=reader::tests::test_date_from_json_milliseconds"
+ "--skip=reader::tests::test_json_arrays"
+ "--skip=reader::tests::test_json_basic"
+ "--skip=reader::tests::test_json_basic_schema"
+ "--skip=reader::tests::test_json_basic_schema_projection"
+ "--skip=reader::tests::test_json_basic_with_nulls"
+ "--skip=reader::tests::test_json_empty_projection"
+ "--skip=reader::tests::test_json_iterator"
+ "--skip=reader::tests::test_time_from_json_nanoseconds"
+ "--skip=reader::tests::test_timestamp_from_json_milliseconds"
+ "--skip=reader::tests::test_timestamp_from_json_seconds"
+ "--skip=reader::tests::test_with_multiple_batches"
+ "--skip=writer::tests::test_write_multi_batches"
+ "--skip=writer::tests::test_write_single_batch"
+ "--skip=writer::tests::write_arrays"
+ "--skip=writer::tests::write_basic_nulls"
+ "--skip=writer::tests::write_basic_rows")
+ #:cargo-inputs
+ (("rust-arrow-array" ,rust-arrow-array-47)
+ ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+ ("rust-arrow-cast" ,rust-arrow-cast-47)
+ ("rust-arrow-data" ,rust-arrow-data-47)
+ ("rust-arrow-schema" ,rust-arrow-schema-47)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-half" ,rust-half-2)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-lexical-core" ,rust-lexical-core-0.8)
+ ("rust-num" ,rust-num-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))
+ #:cargo-development-inputs
+ (("rust-bytes" ,rust-bytes-1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Parse JSON formatted data to and from the Arrow format")
+ (description
+ "This crate enables support for transferring data between the Arrow
+memory format and JSON line-delimited records.")
+ (license license:asl2.0)))
+
(define-public rust-arrow-ord-47
(package
(name "rust-arrow-ord")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 15/19] gnu: Add rust-arrow-csv-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (13 preceding siblings ...)
2024-01-28 8:25 ` [bug#68780] [PATCH 14/19] gnu: Add rust-arrow-json-47 Troy Figiel
@ 2024-01-28 8:38 ` Troy Figiel
2024-01-28 8:45 ` [bug#68780] [PATCH 16/19] gnu: Add rust-arrow-row-47 Troy Figiel
` (4 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-28 8:38 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-csv-47): New variable.
---
gnu/packages/crates-io.scm | 60 ++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ac857f6934..62dcd3b081 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2635,6 +2635,66 @@ (define-public rust-arrow-cast-47
decoding.")
(license license:asl2.0)))
+(define-public rust-arrow-csv-47
+ (package
+ (name "rust-arrow-csv")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-csv" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wff8a151xspfrcc4lda6g0d9fa6vva63q23gwcxq9miqrfqbvs3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ ;; Test fixtures are not included in the crate tarball. We need to skip
+ ;; the tests that require these.
+ '("--release"
+ ;; Skip the doctests, since some of these also depend on the test
+ ;; fixtures.
+ "--lib" "--bins" "--tests"
+ "--"
+ "--exact"
+ "--skip=reader::tests::test_buffered"
+ "--skip=reader::tests::test_csv"
+ "--skip=reader::tests::test_csv_builder_with_bounds"
+ "--skip=reader::tests::test_csv_from_buf_reader"
+ "--skip=reader::tests::test_csv_reader_with_decimal"
+ "--skip=reader::tests::test_csv_schema_metadata"
+ "--skip=reader::tests::test_csv_with_dictionary"
+ "--skip=reader::tests::test_csv_with_projection"
+ "--skip=reader::tests::test_csv_with_schema_inference"
+ "--skip=reader::tests::test_csv_with_schema_inference_no_headers"
+ "--skip=reader::tests::test_custom_nulls"
+ "--skip=reader::tests::test_custom_nulls_with_inference"
+ "--skip=reader::tests::test_nulls"
+ "--skip=reader::tests::test_nulls_with_inference"
+ "--skip=reader::tests::test_parse_invalid_csv")
+ #:cargo-inputs
+ (("rust-arrow-array" ,rust-arrow-array-47)
+ ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+ ("rust-arrow-cast" ,rust-arrow-cast-47)
+ ("rust-arrow-data" ,rust-arrow-data-47)
+ ("rust-arrow-schema" ,rust-arrow-schema-47)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-csv" ,rust-csv-1)
+ ("rust-csv-core" ,rust-csv-core-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-lexical-core" ,rust-lexical-core-0.8)
+ ("rust-regex" ,rust-regex-1))
+ #:cargo-development-inputs
+ (("rust-bytes" ,rust-bytes-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Parse CSV formatted data to and from the Arrow format")
+ (description "This crate enables support for transferring data between the
+Arrow memory format and CSV line-delimited records.")
+ (license license:asl2.0)))
+
(define-public rust-arrow-data-47
(package
(name "rust-arrow-data")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 16/19] gnu: Add rust-arrow-row-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (14 preceding siblings ...)
2024-01-28 8:38 ` [bug#68780] [PATCH 15/19] gnu: Add rust-arrow-csv-47 Troy Figiel
@ 2024-01-28 8:45 ` Troy Figiel
2024-01-28 8:50 ` [bug#68780] [PATCH 17/19] gnu: Add rust-arrow-ipc-47 Troy Figiel
` (3 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-28 8:45 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-row-47): New variable.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 62dcd3b081..45d715d8ed 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2841,6 +2841,39 @@ (define-public rust-arrow-ord-47
@code{rank} and @code{sort} kernels.")
(license license:asl2.0)))
+(define-public rust-arrow-row-47
+ (package
+ (name "rust-arrow-row")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-row" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08jxyqvsm3pvz09jprqrxdhg1yczncyb5jlgj2vckrw1nn538jhi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.8)
+ ("rust-arrow-array" ,rust-arrow-array-47)
+ ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+ ("rust-arrow-data" ,rust-arrow-data-47)
+ ("rust-arrow-schema" ,rust-arrow-schema-47)
+ ("rust-half" ,rust-half-2)
+ ("rust-hashbrown" ,rust-hashbrown-0.14))
+ #:cargo-development-inputs
+ (("rust-arrow-cast" ,rust-arrow-cast-47)
+ ("rust-arrow-ord" ,rust-arrow-ord-47)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Row-oriented Apache Arrow representation")
+ (description "This crate provides a comparable row-oriented representation
+of a collection of @code{Array}. Rows are normalized for sorting, and can
+therefore be very efficiently compared, using @code{memcmp} under the hood, or
+used in non-comparison sorts such as radix sort.")
+ (license license:asl2.0)))
+
(define-public rust-arrow-schema-47
(package
(name "rust-arrow-schema")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 17/19] gnu: Add rust-arrow-ipc-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (15 preceding siblings ...)
2024-01-28 8:45 ` [bug#68780] [PATCH 16/19] gnu: Add rust-arrow-row-47 Troy Figiel
@ 2024-01-28 8:50 ` Troy Figiel
2024-01-28 8:58 ` [bug#68780] [PATCH 18/19] gnu: Add rust-arrow-arith-47 Troy Figiel
` (2 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-28 8:50 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-ipc-47): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 45d715d8ed..f2b05ee9ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2744,6 +2744,36 @@ (define-public rust-arrow-format-0.3
code of Apache Arrow spec.")
(license license:asl2.0)))
+(define-public rust-arrow-ipc-47
+ (package
+ (name "rust-arrow-ipc")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-ipc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0shnrpmkwicxcn12s6lw8xqj9xibjjfqah58nxlzhjf5i9f00j0j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arrow-array" ,rust-arrow-array-47)
+ ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+ ("rust-arrow-cast" ,rust-arrow-cast-47)
+ ("rust-arrow-data" ,rust-arrow-data-47)
+ ("rust-arrow-schema" ,rust-arrow-schema-47)
+ ("rust-flatbuffers" ,rust-flatbuffers-23)
+ ("rust-lz4" ,rust-lz4-1)
+ ("rust-zstd" ,rust-zstd-0.12))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Support for the Arrow IPC format")
+ (description "This crate provides support for the Arrow @acronym{IPC,
+Interprocess Communication} format.")
+ (license license:asl2.0)))
+
(define-public rust-arrow-json-47
(package
(name "rust-arrow-json")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 18/19] gnu: Add rust-arrow-arith-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (16 preceding siblings ...)
2024-01-28 8:50 ` [bug#68780] [PATCH 17/19] gnu: Add rust-arrow-ipc-47 Troy Figiel
@ 2024-01-28 8:58 ` Troy Figiel
2024-01-28 9:14 ` [bug#68780] [PATCH 19/19] gnu: Add rust-arrow-47 Troy Figiel
2024-02-11 13:47 ` bug#68780: [PATCH 00/19] " Efraim Flashner
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-28 8:58 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-arith-47): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f2b05ee9ec..1df762dff8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2540,6 +2540,35 @@ (define-public rust-arrow-5
format.")
(license license:asl2.0)))
+(define-public rust-arrow-arith-47
+ (package
+ (name "rust-arrow-arith")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-arith" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mprvyxmnj3x84l6p8h34zz11kil71x5gf989zk9xbc7iqv4w7dw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arrow-array" ,rust-arrow-array-47)
+ ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+ ("rust-arrow-data" ,rust-arrow-data-47)
+ ("rust-arrow-schema" ,rust-arrow-schema-47)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-half" ,rust-half-2)
+ ("rust-num" ,rust-num-0.4))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Arithmetic and aggregation kernels Apache Arrow")
+ (description "This crate provides arithmetic and aggregation kernels for
+Apache Arrow. Examples include time-related functions, logical operations for
+booleans, arithmetic functions such as addition and various aggregation
+functions.")
+ (license license:asl2.0)))
+
(define-public rust-arrow-array-47
(package
(name "rust-arrow-array")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 19/19] gnu: Add rust-arrow-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (17 preceding siblings ...)
2024-01-28 8:58 ` [bug#68780] [PATCH 18/19] gnu: Add rust-arrow-arith-47 Troy Figiel
@ 2024-01-28 9:14 ` Troy Figiel
2024-02-11 13:47 ` bug#68780: [PATCH 00/19] " Efraim Flashner
19 siblings, 0 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-28 9:14 UTC (permalink / raw)
To: 68780
* gnu/packages/crates-io.scm (rust-arrow-47): New variable.
---
gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1df762dff8..db23a2d7b0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2496,6 +2496,54 @@ (define-public rust-arrayvec-0.4
("rust-matches" ,rust-matches-0.1)
("rust-serde-test" ,rust-serde-test-1))))))
+(define-public rust-arrow-47
+ (package
+ (name "rust-arrow")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0agq8c2q8nifsysnri8svh9m9dqkk55ww3d3slvqms4cpa9rxavz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ ;; Test fixtures are not included in the crate tarball. We need to skip
+ ;; the tests that require these.
+ '("--release" "--" "--exact"
+ "--skip=util::test_util::tests::test_happy")
+ #:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.8)
+ ("rust-arrow-arith" ,rust-arrow-arith-47)
+ ("rust-arrow-array" ,rust-arrow-array-47)
+ ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+ ("rust-arrow-cast" ,rust-arrow-cast-47)
+ ("rust-arrow-csv" ,rust-arrow-csv-47)
+ ("rust-arrow-data" ,rust-arrow-data-47)
+ ("rust-arrow-ipc" ,rust-arrow-ipc-47)
+ ("rust-arrow-json" ,rust-arrow-json-47)
+ ("rust-arrow-ord" ,rust-arrow-ord-47)
+ ("rust-arrow-row" ,rust-arrow-row-47)
+ ("rust-arrow-schema" ,rust-arrow-schema-47)
+ ("rust-arrow-select" ,rust-arrow-select-47)
+ ("rust-arrow-string" ,rust-arrow-string-47)
+ ("rust-pyo3" ,rust-pyo3-0.19)
+ ("rust-rand" ,rust-rand-0.8))
+ #:cargo-development-inputs
+ (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-half" ,rust-half-2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Rust implementation of Apache Arrow")
+ (description "This crate provides a complete, safe and native Rust
+implementation of Apache Arrow.")
+ (license license:asl2.0)))
+
(define-public rust-arrow-5
(package
(name "rust-arrow")
--
2.42.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47.
@ 2024-01-28 10:51 Troy Figiel
2024-01-26 19:43 ` [bug#68780] [PATCH 01/19] gnu: Add rust-flatbuffers-23 Troy Figiel
` (19 more replies)
0 siblings, 20 replies; 21+ messages in thread
From: Troy Figiel @ 2024-01-28 10:51 UTC (permalink / raw)
To: 68780
This patch series adds rust-arrow-47 and its dependencies.
rust-arrow-47 is a dependency of rust-deltalake-0.16, which I am trying to
package. I decided to split off this patch series, since rust-deltalake-0.16
has many more dependencies and I did not want to blow up that patch series
unnecessarily.
rust-arrow-csv-47, rust-arrow-json-47 and rust-arrow-47 have some of their
tests skipped. The test fixtures can be found in the git repository at
https://github.com/apache/arrow-rs, but I have not found a simple/maintainable
way to add them. Any tips here would be highly appreciated.
Troy Figiel (19):
gnu: Add rust-flatbuffers-23.
gnu: rust-flatbuffers-2: Don't skip the build.
gnu: Add rust-chrono-tz-build-0.2.
gnu: Add rust-chrono-tz-0.8.
gnu: Add rust-comfy-table-7.
gnu: Add rust-arrow-schema-47.
gnu: Add rust-arrow-buffer-47.
gnu: Add rust-arrow-data-47.
gnu: Add rust-arrow-array-47.
gnu: Add rust-arrow-select-47.
gnu: Add rust-arrow-string-47.
gnu: Add rust-arrow-ord-47.
gnu: Add rust-arrow-cast-47.
gnu: Add rust-arrow-json-47.
gnu: Add rust-arrow-csv-47.
gnu: Add rust-arrow-row-47.
gnu: Add rust-arrow-ipc-47.
gnu: Add rust-arrow-arith-47.
gnu: Add rust-arrow-47.
gnu/packages/crates-io.scm | 633 +++++++++++++++++++++++++++++++++++--
1 file changed, 606 insertions(+), 27 deletions(-)
base-commit: 049e5e43058e04fd4c6152938a31911f939df7ab
--
2.42.0
^ permalink raw reply [flat|nested] 21+ messages in thread
* bug#68780: [PATCH 00/19] gnu: Add rust-arrow-47.
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
` (18 preceding siblings ...)
2024-01-28 9:14 ` [bug#68780] [PATCH 19/19] gnu: Add rust-arrow-47 Troy Figiel
@ 2024-02-11 13:47 ` Efraim Flashner
19 siblings, 0 replies; 21+ messages in thread
From: Efraim Flashner @ 2024-02-11 13:47 UTC (permalink / raw)
To: Troy Figiel; +Cc: 68780-done
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
Thanks. Patches pushed.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2024-02-11 13:49 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
2024-01-26 19:43 ` [bug#68780] [PATCH 01/19] gnu: Add rust-flatbuffers-23 Troy Figiel
2024-01-26 19:54 ` [bug#68780] [PATCH 02/19] gnu: rust-flatbuffers-2: Don't skip the build Troy Figiel
2024-01-27 14:58 ` [bug#68780] [PATCH 06/19] gnu: Add rust-arrow-schema-47 Troy Figiel
2024-01-27 15:01 ` [bug#68780] [PATCH 07/19] gnu: Add rust-arrow-buffer-47 Troy Figiel
2024-01-27 15:05 ` [bug#68780] [PATCH 08/19] gnu: Add rust-arrow-data-47 Troy Figiel
2024-01-27 15:12 ` [bug#68780] [PATCH 03/19] gnu: Add rust-chrono-tz-build-0.2 Troy Figiel
2024-01-27 15:20 ` [bug#68780] [PATCH 04/19] gnu: Add rust-chrono-tz-0.8 Troy Figiel
2024-01-27 15:27 ` [bug#68780] [PATCH 09/19] gnu: Add rust-arrow-array-47 Troy Figiel
2024-01-27 15:39 ` [bug#68780] [PATCH 10/19] gnu: Add rust-arrow-select-47 Troy Figiel
2024-01-27 15:43 ` [bug#68780] [PATCH 11/19] gnu: Add rust-arrow-string-47 Troy Figiel
2024-01-27 15:49 ` [bug#68780] [PATCH 12/19] gnu: Add rust-arrow-ord-47 Troy Figiel
2024-01-27 15:53 ` [bug#68780] [PATCH 05/19] gnu: Add rust-comfy-table-7 Troy Figiel
2024-01-27 16:09 ` [bug#68780] [PATCH 13/19] gnu: Add rust-arrow-cast-47 Troy Figiel
2024-01-28 8:25 ` [bug#68780] [PATCH 14/19] gnu: Add rust-arrow-json-47 Troy Figiel
2024-01-28 8:38 ` [bug#68780] [PATCH 15/19] gnu: Add rust-arrow-csv-47 Troy Figiel
2024-01-28 8:45 ` [bug#68780] [PATCH 16/19] gnu: Add rust-arrow-row-47 Troy Figiel
2024-01-28 8:50 ` [bug#68780] [PATCH 17/19] gnu: Add rust-arrow-ipc-47 Troy Figiel
2024-01-28 8:58 ` [bug#68780] [PATCH 18/19] gnu: Add rust-arrow-arith-47 Troy Figiel
2024-01-28 9:14 ` [bug#68780] [PATCH 19/19] gnu: Add rust-arrow-47 Troy Figiel
2024-02-11 13:47 ` bug#68780: [PATCH 00/19] " Efraim Flashner
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).