From 721a18bc785258110ec7dff602463bba022be67b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 26 Aug 2021 10:49:50 +0200 Subject: [PATCH] gnu: Add rust-arrow-5. * gnu/packages/crates-io.scm (rust-arrow-5): New variable. (rust-arrow-4): Inherit from above. --- gnu/packages/crates-io.scm | 50 ++++++++++++++++++++++++++++++++------ 1 file changed, 42 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ea362c3182..0726f2cb6f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2356,8 +2356,49 @@ (define-public rust-arrayvec-0.4 ("rust-matches" ,rust-matches-0.1) ("rust-serde-test" ,rust-serde-test-1)))))) +(define-public rust-arrow-5 + (package + (name "rust-arrow") + (version "5.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zj2sjlnkwz2sdfc83zcz75vg1d3900h8ix15nkjsbz5hd1pzvri")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-flatbuffers" ,rust-flatbuffers-2) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-hex" ,rust-hex-0.4) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-lexical-core" ,rust-lexical-core-0.7) + ("rust-multiversion" ,rust-multiversion-0.6) + ("rust-num" ,rust-num-0.4) + ("rust-packed-simd-2" ,rust-packed-simd-2-0.3) + ("rust-prettytable-rs" ,rust-prettytable-rs-0.8) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Rust implementation of Apache Arrow") + (description + "This crate is a Rust implementation of Apache Arrow in-memory columnar +format.") + (license license:asl2.0))) + (define-public rust-arrow-4 (package + (inherit rust-arrow-5) (name "rust-arrow") (version "4.4.0") (source @@ -2367,7 +2408,6 @@ (define-public rust-arrow-4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "141qb0yqk179n324qrhbv14ysz13mcfsw00d6m09882gx9637wzn")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -2387,13 +2427,7 @@ (define-public rust-arrow-4 ("rust-regex" ,rust-regex-1) ("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/apache/arrow-rs") - (synopsis "Rust implementation of Apache Arrow") - (description - "This crate is a Rust implementation of Apache Arrow in-memory columnar -format.") - (license license:asl2.0))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-askama-escape-0.10 (package