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

From: Troy Figiel <[email-masked]>
Date: Sun, 28 Jan 2024 09:50:33 +0100

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 45d715d8ed..f2b05ee9ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2744,6 +2744,36 @@ (define-public rust-arrow-format-0.3
 code of Apache Arrow spec.")
     (license license:asl2.0)))
 
+(define-public rust-arrow-ipc-47
+  (package
+    (name "rust-arrow-ipc")
+    (version "47.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "arrow-ipc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0shnrpmkwicxcn12s6lw8xqj9xibjjfqah58nxlzhjf5i9f00j0j"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-arrow-array" ,rust-arrow-array-47)
+        ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+        ("rust-arrow-cast" ,rust-arrow-cast-47)
+        ("rust-arrow-data" ,rust-arrow-data-47)
+        ("rust-arrow-schema" ,rust-arrow-schema-47)
+        ("rust-flatbuffers" ,rust-flatbuffers-23)
+        ("rust-lz4" ,rust-lz4-1)
+        ("rust-zstd" ,rust-zstd-0.12))
+       #:cargo-development-inputs
+       (("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/apache/arrow-rs")
+    (synopsis "Support for the Arrow IPC format")
+    (description "This crate provides support for the Arrow @acronym{IPC,
+Interprocess Communication} format.")
+    (license license:asl2.0)))
+
 (define-public rust-arrow-json-47
   (package
     (name "rust-arrow-json")
-- 
2.42.0