summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-08-26 10:56:15 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-08-26 14:25:00 +0200
commit4da42edec54c928cc74a14cf13e935b3fd691110 (patch)
tree39ea32e9f4d031719ceb3a88623ad361bbaf7cd9
parent721a18bc785258110ec7dff602463bba022be67b (diff)
downloadguix-4da42edec54c928cc74a14cf13e935b3fd691110.tar.gz
gnu: Add rust-parquet-5.
* gnu/packages/crates-io.scm (rust-parquet-5): New variable.
(rust-parquet-4): Inherit from above.
-rw-r--r--gnu/packages/crates-io.scm41
1 files changed, 36 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0726f2cb6f..fc7491cf9e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31434,22 +31434,22 @@ synchronization primitives.")
         ("rust-winapi" ,rust-winapi-0.3)
         ("rust-rustc-version" ,rust-rustc-version-0.2))))))
 
-(define-public rust-parquet-4
+(define-public rust-parquet-5
   (package
     (name "rust-parquet")
-    (version "4.4.0")
+    (version "5.2.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "parquet" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0m3aqmaa79wka7adijl3zqkfjf1iwm2y58v0g16askv73pj48l16"))))
+        (base32 "0k2pzbqy6qb3rhxfsbx6gnmqyz4c9rprn6p76ws5f7cbgjwv97p2"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-arrow" ,rust-arrow-4)
+       (("rust-arrow" ,rust-arrow-5)
         ("rust-base64" ,rust-base64-0.13)
         ("rust-brotli" ,rust-brotli-3)
         ("rust-byteorder" ,rust-byteorder-1)
@@ -31459,16 +31459,47 @@ synchronization primitives.")
         ("rust-lz4" ,rust-lz4-1)
         ("rust-num-bigint" ,rust-num-bigint-0.4)
         ("rust-parquet-format" ,rust-parquet-format-2)
+        ("rust-rand" ,rust-rand-0.8)
         ("rust-serde-json" ,rust-serde-json-1)
         ("rust-snap" ,rust-snap-1)
         ("rust-thrift" ,rust-thrift-0.13)
-        ("rust-zstd" ,rust-zstd-0.8))))
+        ("rust-zstd" ,rust-zstd-0.9))))
     (home-page "https://github.com/apache/arrow-rs")
     (synopsis "Apache Parquet implementation in Rust")
     (description
      "This crate provides an Apache Parquet implementation in Rust.")
     (license license:asl2.0)))
 
+(define-public rust-parquet-4
+  (package
+    (inherit rust-parquet-5)
+    (name "rust-parquet")
+    (version "4.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "parquet" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0m3aqmaa79wka7adijl3zqkfjf1iwm2y58v0g16askv73pj48l16"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-arrow" ,rust-arrow-4)
+        ("rust-base64" ,rust-base64-0.13)
+        ("rust-brotli" ,rust-brotli-3)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-clap" ,rust-clap-2)
+        ("rust-flate2" ,rust-flate2-1)
+        ("rust-lz4" ,rust-lz4-1)
+        ("rust-num-bigint" ,rust-num-bigint-0.4)
+        ("rust-parquet-format" ,rust-parquet-format-2)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-snap" ,rust-snap-1)
+        ("rust-thrift" ,rust-thrift-0.13)
+        ("rust-zstd" ,rust-zstd-0.8))))))
+
 (define-public rust-parquet-format-2
   (package
     (name "rust-parquet-format")