Subject: [PATCH 09/19] gnu: Add rust-arrow-array-47.

From: Troy Figiel <[email-masked]>
Date: Sat, 27 Jan 2024 16:27:17 +0100

* gnu/packages/crates-io.scm (rust-arrow-array-47): New variable.
---
 gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b1a8badb1a..5121bd71d0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2540,6 +2540,41 @@ (define-public rust-arrow-5
 format.")
     (license license:asl2.0)))
 
+(define-public rust-arrow-array-47
+  (package
+    (name "rust-arrow-array")
+    (version "47.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "arrow-array" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "139iwhc3j8mcn6avgjl4k3sc7g43kq92m02fbba05qgdadrglbnh"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-ahash" ,rust-ahash-0.8)
+        ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+        ("rust-arrow-data" ,rust-arrow-data-47)
+        ("rust-arrow-schema" ,rust-arrow-schema-47)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-chrono-tz" ,rust-chrono-tz-0.8)
+        ("rust-half" ,rust-half-2)
+        ("rust-hashbrown" ,rust-hashbrown-0.14)
+        ("rust-num" ,rust-num-0.4)
+        ("rust-packed-simd" ,rust-packed-simd-0.3))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.5)
+        ("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/apache/arrow-rs")
+    (synopsis "Array abstractions for Apache Arrow")
+    (description "The central type in Apache Arrow are arrays, which are a
+known-length sequence of values all having the same type.  This crate provides
+concrete implementations of each type, as well as an @code{Array} trait that
+can be used for type-erasure.")
+    (license license:asl2.0)))
+
 (define-public rust-arrow-buffer-47
   (package
     (name "rust-arrow-buffer")
-- 
2.42.0