From 5da0efbe9e84565a9bbd70e0a1ac691a2f6636cc Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 6 Oct 2021 21:52:10 +0200 Subject: [PATCH] gnu: Add rust-polars-0.16. * gnu/packages/crates-io.scm (rust-polars-0.16): New variable. (rust-polars-0.15): Inherit from above. --- gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 68e29ac9c0..e57abb404c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -35695,8 +35695,33 @@ (define-public rust-podio-0.1 "Additional trait for Read and Write to read and write Plain Old Data.") (license (list license:expat license:asl2.0)))) +(define-public rust-polars-0.16 + (package + (name "rust-polars") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s4fqc3vlpz73dbagfsj3hx7y7xmpqnp7nj0cn9srijxgxq5nm73")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-polars-core" ,rust-polars-core-0.16) + ("rust-polars-io" ,rust-polars-io-0.16) + ("rust-polars-lazy" ,rust-polars-lazy-0.16)))) + (home-page "https://github.com/ritchie46/polars") + (synopsis "DataFrame Library based on Apache Arrow") + (description + "Polars is a dataframe Library based on Apache Arrow.") + (license license:expat))) + (define-public rust-polars-0.15 (package + (inherit rust-polars-0.16) (name "rust-polars") (version "0.15.1") (source @@ -35706,18 +35731,12 @@ (define-public rust-polars-0.15 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1sl7vs6ck05f8w8jp7v75431b4v5j2rvvvw53jqgxc5226i7a2h8")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-polars-core" ,rust-polars-core-0.15) ("rust-polars-io" ,rust-polars-io-0.15) - ("rust-polars-lazy" ,rust-polars-lazy-0.15)))) - (home-page "https://github.com/ritchie46/polars") - (synopsis "DataFrame Library based on Apache Arrow") - (description - "Polars is a dataframe Library based on Apache Arrow.") - (license license:expat))) + ("rust-polars-lazy" ,rust-polars-lazy-0.15)))))) (define-public rust-polars-0.14 (package