guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#68780] [PATCH 16/19] gnu: Add rust-arrow-row-47.


From: Troy Figiel
Subject: [bug#68780] [PATCH 16/19] gnu: Add rust-arrow-row-47.
Date: Sun, 28 Jan 2024 09:45:22 +0100

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 62dcd3b081..45d715d8ed 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2841,6 +2841,39 @@ (define-public rust-arrow-ord-47
 @code{rank} and @code{sort} kernels.")
     (license license:asl2.0)))
 
+(define-public rust-arrow-row-47
+  (package
+    (name "rust-arrow-row")
+    (version "47.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "arrow-row" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "08jxyqvsm3pvz09jprqrxdhg1yczncyb5jlgj2vckrw1nn538jhi"))))
+    (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-half" ,rust-half-2)
+        ("rust-hashbrown" ,rust-hashbrown-0.14))
+       #:cargo-development-inputs
+       (("rust-arrow-cast" ,rust-arrow-cast-47)
+        ("rust-arrow-ord" ,rust-arrow-ord-47)
+        ("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/apache/arrow-rs";)
+    (synopsis "Row-oriented Apache Arrow representation")
+    (description "This crate provides a comparable row-oriented representation
+of a collection of @code{Array}.  Rows are normalized for sorting, and can
+therefore be very efficiently compared, using @code{memcmp} under the hood, or
+used in non-comparison sorts such as radix sort.")
+    (license license:asl2.0)))
+
 (define-public rust-arrow-schema-47
   (package
     (name "rust-arrow-schema")
-- 
2.42.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]