diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7d5cf32be2..82a9c4e11d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -37799,8 +37799,33 @@ applications.") "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.17 + (package + (name "rust-polars") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1655qd1khas4qm14k3hl3sh8zh2xaj505344qzm68fz98rfs553w")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-polars-core" ,rust-polars-core-0.17) + ("rust-polars-io" ,rust-polars-io-0.17) + ("rust-polars-lazy" ,rust-polars-lazy-0.17)))) + (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.16 (package + (inherit rust-polars-0.17) (name "rust-polars") (version "0.16.0") (source @@ -37810,18 +37835,12 @@ applications.") (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))) + ("rust-polars-lazy" ,rust-polars-lazy-0.16)))))) (define-public rust-polars-0.15 (package @@ -37882,8 +37901,33 @@ applications.") ("rust-polars-io" ,rust-polars-io-0.13) ("rust-polars-lazy" ,rust-polars-lazy-0.13)))))) +(define-public rust-polars-arrow-0.17 + (package + (name "rust-polars-arrow") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-arrow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16aakfkiaqk71c3n3274r9ra44v0jrc8wwp5nqdr0srd5y6lii0w")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-arrow2" ,rust-arrow2-0.7) + ("rust-num" ,rust-num-0.4) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/ritchie46/polars") + (synopsis "Arrow interfaces for Polars DataFrame library") + (description + "This crate provides Arrow interfaces for Polars DataFrame library.") + (license license:expat))) + (define-public rust-polars-arrow-0.16 (package + (inherit rust-polars-arrow-0.17) (name "rust-polars-arrow") (version "0.16.0") (source @@ -37893,18 +37937,12 @@ applications.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0pwx7nsayn526r9gw16yzqq3r6mn6ivcdxzsj8737whk04qy3ssb")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-arrow2" ,rust-arrow2-0.5) ("rust-num" ,rust-num-0.4) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/ritchie46/polars") - (synopsis "Arrow interfaces for Polars DataFrame library") - (description - "This crate provides Arrow interfaces for Polars DataFrame library.") - (license license:expat))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-polars-arrow-0.15 (package @@ -37964,8 +38002,53 @@ applications.") ("rust-num" ,rust-num-0.4) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-polars-core-0.17 + (package + (name "rust-polars-core") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xjv2rja2pzcnn6sazgj2dqzy7gpbp57as6rcf0s0hnpcd054wb7")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-ahash" ,rust-ahash-0.7) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-arrow2" ,rust-arrow2-0.7) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-comfy-table" ,rust-comfy-table-1) + ("rust-hashbrown" ,rust-hashbrown-0.11) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-jsonpath-lib" ,rust-jsonpath-lib-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-ndarray" ,rust-ndarray-0.15) + ("rust-num" ,rust-num-0.4) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-polars-arrow" ,rust-polars-arrow-0.17) + ("rust-prettytable-rs" ,rust-prettytable-rs-0.8) + ("rust-rand" ,rust-rand-0.7) + ("rust-rand-distr" ,rust-rand-distr-0.3) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unsafe-unwrap" ,rust-unsafe-unwrap-0.1)))) + (home-page "https://github.com/ritchie46/polars") + (synopsis "Core of the Polars DataFrame library") + (description + "This crate provides the core of the Polars DataFrame library.") + (license license:expat))) + (define-public rust-polars-core-0.16 (package + (inherit rust-polars-core-0.17) (name "rust-polars-core") (version "0.16.0") (source @@ -37975,7 +38058,6 @@ applications.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0knhxc2b0k5jpvm7fxm64b5hjdyqgxjjyi6cnsiy5sya3mj3v9cd")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -38000,12 +38082,7 @@ applications.") ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-unsafe-unwrap" ,rust-unsafe-unwrap-0.1)))) - (home-page "https://github.com/ritchie46/polars") - (synopsis "Core of the Polars DataFrame library") - (description - "This crate provides the core of the Polars DataFrame library.") - (license license:expat))) + ("rust-unsafe-unwrap" ,rust-unsafe-unwrap-0.1)))))) (define-public rust-polars-core-0.15 (package @@ -38121,8 +38198,47 @@ applications.") ("rust-thiserror" ,rust-thiserror-1) ("rust-unsafe-unwrap" ,rust-unsafe-unwrap-0.1)))))) +(define-public rust-polars-io-0.17 + (package + (name "rust-polars-io") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-io" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mq921184vwmadxz3996g0ilb4wiws3fajgxpvkkw1152pszb98i")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-ahash" ,rust-ahash-0.7) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-arrow2" ,rust-arrow2-0.7) + ("rust-csv-core" ,rust-csv-core-0.1) + ("rust-dirs" ,rust-dirs-3) + ("rust-flate2" ,rust-flate2-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-lexical" ,rust-lexical-6) + ("rust-memchr" ,rust-memchr-2) + ("rust-memmap2" ,rust-memmap2-0.5) + ("rust-num" ,rust-num-0.4) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-polars-arrow" ,rust-polars-arrow-0.17) + ("rust-polars-core" ,rust-polars-core-0.17) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-simdutf8" ,rust-simdutf8-0.1)))) + (home-page "https://github.com/ritchie46/polars") + (synopsis "IO related logic for the Polars DataFrame library") + (description + "This crate provides IO related logic for the Polars DataFrame library.") + (license license:expat))) + (define-public rust-polars-io-0.16 (package + (inherit rust-polars-io-0.17) (name "rust-polars-io") (version "0.16.0") (source @@ -38132,7 +38248,6 @@ applications.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0yqpjk0ymqpjq6f0mnm9hhw9xmjradx6vqzg5n54qvl6v3s3p3kh")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -38151,12 +38266,7 @@ applications.") ("rust-polars-core" ,rust-polars-core-0.16) ("rust-rayon" ,rust-rayon-1) ("rust-regex" ,rust-regex-1) - ("rust-simdutf8" ,rust-simdutf8-0.1)))) - (home-page "https://github.com/ritchie46/polars") - (synopsis "IO related logic for the Polars DataFrame library") - (description - "This crate provides IO related logic for the Polars DataFrame library.") - (license license:expat))) + ("rust-simdutf8" ,rust-simdutf8-0.1)))))) (define-public rust-polars-io-0.15 (package @@ -38259,8 +38369,38 @@ applications.") ("rust-rayon" ,rust-rayon-1) ("rust-regex" ,rust-regex-1)))))) +(define-public rust-polars-lazy-0.17 + (package + (name "rust-polars-lazy") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-lazy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qabh08q4978s33d2mn2m8c90spg21frr4lhpyxx2ngsw93scgns")))) + (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.17) + ("rust-polars-core" ,rust-polars-core-0.17) + ("rust-polars-io" ,rust-polars-io-0.17) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-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.16 (package + (inherit rust-polars-lazy-0.17) (name "rust-polars-lazy") (version "0.16.0") (source @@ -38270,7 +38410,6 @@ applications.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "01bjsk880dvigyqx7aj3f8zvxpk9gl14k3s40w3dv3aanhdzq7wx")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -38280,13 +38419,7 @@ applications.") ("rust-polars-core" ,rust-polars-core-0.16) ("rust-polars-io" ,rust-polars-io-0.16) ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-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-regex" ,rust-regex-1)))))) (define-public rust-polars-lazy-0.15 (package