Subject: [PATCH 12/19] gnu: Add rust-arrow-ord-47.

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

* gnu/packages/crates-io.scm (rust-arrow-ord-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 fcceb882a8..ecf50bc1ae 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2650,6 +2650,36 @@ (define-public rust-arrow-format-0.3
 code of Apache Arrow spec.")
     (license license:asl2.0)))
 
+(define-public rust-arrow-ord-47
+  (package
+    (name "rust-arrow-ord")
+    (version "47.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "arrow-ord" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1x3irbymxic9hjaakq0rvkcqxj1jq2hfpclywh066spa12j7mf03"))))
+    (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-half" ,rust-half-2)
+        ("rust-num" ,rust-num-0.4))
+       #:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/apache/arrow-rs")
+    (synopsis "Ordering kernels for Apache Arrow arrays")
+    (description "This crate provides various ordering kernels for Apache
+Arrow arrays.  Examples include @code{cmp}, @code{ord}, @code{partition},
+@code{rank} and @code{sort} kernels.")
+    (license license:asl2.0)))
+
 (define-public rust-arrow-schema-47
   (package
     (name "rust-arrow-schema")
-- 
2.42.0