From 82637c1aeffcc8286eff5e825aeb1ff56826a6be Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 26 Aug 2021 10:54:49 +0200 Subject: gnu: Add rust-polars-0.15. * gnu/packages/crates-io.scm (rust-polars-0.15): New variable. (rust-polars-0.14): Inherit from above. --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d06ab6e5de..734899b62a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33059,30 +33059,49 @@ (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.14 +(define-public rust-polars-0.15 (package (name "rust-polars") - (version "0.14.8") + (version "0.15.1") (source (origin (method url-fetch) (uri (crate-uri "polars" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0mjp68cjya17gfvc0kqy7wkcggrnjn1pd2pgxpn8ba5b7mgn9lcy")))) + (base32 "1sl7vs6ck05f8w8jp7v75431b4v5j2rvvvw53jqgxc5226i7a2h8")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-polars-core" ,rust-polars-core-0.14) - ("rust-polars-io" ,rust-polars-io-0.14) - ("rust-polars-lazy" ,rust-polars-lazy-0.14)))) + (("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))) +(define-public rust-polars-0.14 + (package + (inherit rust-polars-0.15) + (name "rust-polars") + (version "0.14.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mjp68cjya17gfvc0kqy7wkcggrnjn1pd2pgxpn8ba5b7mgn9lcy")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-polars-core" ,rust-polars-core-0.14) + ("rust-polars-io" ,rust-polars-io-0.14) + ("rust-polars-lazy" ,rust-polars-lazy-0.14)))))) + (define-public rust-polars-0.13 (package (inherit rust-polars-0.14) -- cgit v1.2.3