Subject: [bug#68780] [PATCH 10/19] gnu: Add rust-arrow-select-47.

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5121bd71d0..a0fa93339d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2675,6 +2675,35 @@ (define-public rust-arrow-schema-47
 Apache Arrow implementation in Rust.")
     (license license:asl2.0)))
 
+(define-public rust-arrow-select-47
+  (package
+    (name "rust-arrow-select")
+    (version "47.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "arrow-select" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0231igp3fihf2kz1s9i2k6vhnlpmg662gr9rn6fpxrh26801xiym"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-ahash" ,rust-ahash-0.8)
+        ("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-num" ,rust-num-0.4))
+       #:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/apache/arrow-rs")
+    (synopsis "Selection kernels for Apache Arrow arrays")
+    (description "This crate provides various selection kernels for Apache
+Arrow arrays.  Examples include @code{filter}, @code{concat} and @code{take}
+kernels, as well as @code{window} functions such as shifting.")
+    (license license:asl2.0)))
+
 (define-public rust-arrow2-0.7
   (package
     (name "rust-arrow2")
-- 
2.42.0