From f686977bec614e072327fe0e8f5055cb0fa823a9 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 23 Jun 2021 09:50:26 +0200 Subject: [PATCH] gnu: Add rust-polars-lazy-0.14. * gnu/packages/crates-io.scm (rust-polars-lazy-0.14): New variable. (rust-polars-lazy-0.13): Inherit from above. --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f60aba2284..5d4a2b71fc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33035,8 +33035,37 @@ (define-public rust-polars-io-0.13 ("rust-rayon" ,rust-rayon-1) ("rust-regex" ,rust-regex-1)))))) +(define-public rust-polars-lazy-0.14 + (package + (name "rust-polars-lazy") + (version "0.14.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-lazy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07gir4r7ifc9przvd8acd09g225si2z2lpczmmv8jdqyrz8vd5k5")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-ahash" ,rust-ahash-0.7) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-polars-arrow" ,rust-polars-arrow-0.14) + ("rust-polars-core" ,rust-polars-core-0.14) + ("rust-polars-io" ,rust-polars-io-0.14) + ("rust-rayon" ,rust-rayon-1)))) + (home-page "https://github.com/ritchie46/polars") + (synopsis "Lazy query engine for the Polars DataFrame library") + (description + "This crate provides a lazy query engine for the Polars DataFrame +library.") + (license license:expat))) + (define-public rust-polars-lazy-0.13 (package + (inherit rust-polars-lazy-0.14) (name "rust-polars-lazy") (version "0.13.4") (source @@ -33046,7 +33075,6 @@ (define-public rust-polars-lazy-0.13 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0z5dqz9fk23i10flq4lw8a3qb6638kwxcmka1dyxpabh94l86zqf")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -33055,13 +33083,7 @@ (define-public rust-polars-lazy-0.13 ("rust-polars-arrow" ,rust-polars-arrow-0.13) ("rust-polars-core" ,rust-polars-core-0.13) ("rust-polars-io" ,rust-polars-io-0.13) - ("rust-rayon" ,rust-rayon-1)))) - (home-page "https://github.com/ritchie46/polars") - (synopsis "Lazy query engine for the Polars DataFrame library") - (description - "This crate provides a lazy query engine for the Polars DataFrame -library.") - (license license:expat))) + ("rust-rayon" ,rust-rayon-1)))))) (define-public rust-polling-2 (package