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

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

* gnu/packages/crates-io.scm (rust-arrow-string-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 a0fa93339d..fcceb882a8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2704,6 +2704,35 @@ (define-public rust-arrow-select-47
 kernels, as well as @code{window} functions such as shifting.")
     (license license:asl2.0)))
 
+(define-public rust-arrow-string-47
+  (package
+    (name "rust-arrow-string")
+    (version "47.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "arrow-string" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ar1njf4biff3ylpyk2m2bhvqmsywl9akagljm429ffnharbpkn4"))))
+    (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-num" ,rust-num-0.4)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-regex-syntax" ,rust-regex-syntax-0.7))))
+    (home-page "https://github.com/apache/arrow-rs")
+    (synopsis "String kernels for Apache Arrow arrays")
+    (description "This crate provides various string kernels for Apache Arrow
+arrays.  Examples include @code{concat_elements}, @code{length}, @code{like},
+@code{regexp} and @code{substring} kernels.")
+    (license license:asl2.0)))
+
 (define-public rust-arrow2-0.7
   (package
     (name "rust-arrow2")
-- 
2.42.0