gnu: Add rust-parquet-5.

* gnu/packages/crates-io.scm (rust-parquet-5): New variable.
(rust-parquet-4): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-08-26 10:56:15 +02:00
parent 721a18bc78
commit 4da42edec5
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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