From f0201d91de38db0466ac79e5412b5fdd3ebdc0ad Mon Sep 17 00:00:00 2001 From: Troy Figiel Date: Sat, 27 Jan 2024 17:09:54 +0100 Subject: gnu: Add rust-arrow-cast-47. * gnu/packages/crates-io.scm (rust-arrow-cast-47): New variable. Signed-off-by: Efraim Flashner --- 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 299bc4c9ae..cc1dc6745c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2602,6 +2602,40 @@ can be used for type-erasure.") 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") -- cgit v1.2.3