diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3c11395d84..7fc69ba397 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3368,6 +3368,86 @@ (define-public rust-arrow-string-47 @code{regexp} and @code{substring} kernels.") (license license:asl2.0))) +(define-public rust-arrow2-0.17 + (package + (name "rust-arrow2") + (version "0.17.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yh40rdx0hwyag621byl6rk8w2jzvgvsj78sg1yp82qlxbd6ii2r")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; failed to resolve: could not find `parquet` in `io` + #:cargo-inputs + (("rust-ahash" ,rust-ahash-0.8) + ("rust-arrow-array" ,rust-arrow-array-43) + ("rust-arrow-buffer" ,rust-arrow-buffer-43) + ("rust-arrow-data" ,rust-arrow-data-43) + ("rust-arrow-format" ,rust-arrow-format-0.8) + ("rust-arrow-schema" ,rust-arrow-schema-43) + ("rust-async-stream" ,rust-async-stream-0.3) + ("rust-avro-schema" ,rust-avro-schema-0.3) + ("rust-base64" ,rust-base64-0.21) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-comfy-table" ,rust-comfy-table-6) + ("rust-csv" ,rust-csv-1) + ("rust-csv-async" ,rust-csv-async-1) + ("rust-csv-core" ,rust-csv-core-0.1) + ("rust-dyn-clone" ,rust-dyn-clone-1) + ("rust-either" ,rust-either-1) + ("rust-ethnum" ,rust-ethnum-1) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-foreign-vec" ,rust-foreign-vec-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-hash-hasher" ,rust-hash-hasher-2) + ("rust-hashbrown" ,rust-hashbrown-0.13) + ("rust-hex" ,rust-hex-0.4) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-json-deserializer" ,rust-json-deserializer-0.4) + ("rust-lexical-core" ,rust-lexical-core-0.8) + ("rust-lz4" ,rust-lz4-1) + ("rust-multiversion" ,rust-multiversion-0.7) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-odbc-api" ,rust-odbc-api-0.36) + ("rust-orc-format" ,rust-orc-format-0.3) + ("rust-parquet2" ,rust-parquet2-0.17) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-regex-syntax" ,rust-regex-syntax-0.6) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-simdutf8" ,rust-simdutf8-0.1) + ("rust-streaming-iterator" ,rust-streaming-iterator-0.1) + ("rust-strength-reduce" ,rust-strength-reduce-0.2) + ("rust-zstd" ,rust-zstd-0.12)) + #:cargo-development-inputs + (("rust-avro-rs" ,rust-avro-rs-0.13) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-flate2" ,rust-flate2-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-sample-arrow2" ,rust-sample-arrow2-0.1) + ("rust-sample-std" ,rust-sample-std-0.1) + ("rust-sample-test" ,rust-sample-test-0.1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7)))) + (home-page "https://github.com/jorgecarleitao/arrow2") + (synopsis "Unofficial implementation of Apache Arrow spec in safe Rust") + (description "Unofficial implementation of Apache Arrow spec in safe Rust.") + (license license:asl2.0))) + (define-public rust-arrow2-0.7 (package (name "rust-arrow2")