diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0726f2cb6f..fc7491cf9e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31434,8 +31434,45 @@ (define-public rust-parking-lot-core-0.4 ("rust-winapi" ,rust-winapi-0.3) ("rust-rustc-version" ,rust-rustc-version-0.2)))))) +(define-public rust-parquet-5 + (package + (name "rust-parquet") + (version "5.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "parquet" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k2pzbqy6qb3rhxfsbx6gnmqyz4c9rprn6p76ws5f7cbgjwv97p2")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-arrow" ,rust-arrow-5) + ("rust-base64" ,rust-base64-0.13) + ("rust-brotli" ,rust-brotli-3) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-2) + ("rust-flate2" ,rust-flate2-1) + ("rust-lz4" ,rust-lz4-1) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-parquet-format" ,rust-parquet-format-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-snap" ,rust-snap-1) + ("rust-thrift" ,rust-thrift-0.13) + ("rust-zstd" ,rust-zstd-0.9)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Apache Parquet implementation in Rust") + (description + "This crate provides an Apache Parquet implementation in Rust.") + (license license:asl2.0))) + (define-public rust-parquet-4 (package + (inherit rust-parquet-5) (name "rust-parquet") (version "4.4.0") (source @@ -31445,7 +31482,6 @@ (define-public rust-parquet-4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0m3aqmaa79wka7adijl3zqkfjf1iwm2y58v0g16askv73pj48l16")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -31462,12 +31498,7 @@ (define-public rust-parquet-4 ("rust-serde-json" ,rust-serde-json-1) ("rust-snap" ,rust-snap-1) ("rust-thrift" ,rust-thrift-0.13) - ("rust-zstd" ,rust-zstd-0.8)))) - (home-page "https://github.com/apache/arrow-rs") - (synopsis "Apache Parquet implementation in Rust") - (description - "This crate provides an Apache Parquet implementation in Rust.") - (license license:asl2.0))) + ("rust-zstd" ,rust-zstd-0.8)))))) (define-public rust-parquet-format-2 (package