diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-04 15:51:43 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-28 14:10:11 -0500 |
commit | 770c421df29252d664fe94c820ff21bacbf2db7e (patch) | |
tree | 6a63f1aeb094ddd64926b54d0ba91f637b51f051 /gnu/packages | |
parent | 38df88ac1262a6cf4aa2f3ff75e00f8c142b9527 (diff) | |
download | guix-770c421df29252d664fe94c820ff21bacbf2db7e.tar.gz |
gnu: Add rust-polars-0.17.
* gnu/packages/crates-io.scm (rust-polars-0.17): New variable. (rust-polars-0.16): Inherit from above. (rust-polars-arrow-0.17): New variable. (rust-polars-arrow-0.16): Inherit from above. (rust-polars-core-0.17): New variable. (rust-polars-core-0.16): Inherit from above. (rust-polars-io-0.17): New variable. (rust-polars-io-0.16): Inherit from above. (rust-polars-lazy-0.17): New variable. (rust-polars-lazy-0.16): Inherit from above.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 191 |
1 files changed, 162 insertions, 29 deletions
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,30 +37799,49 @@ 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.16 +(define-public rust-polars-0.17 (package (name "rust-polars") - (version "0.16.0") + (version "0.17.0") (source (origin (method url-fetch) (uri (crate-uri "polars" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1s4fqc3vlpz73dbagfsj3hx7y7xmpqnp7nj0cn9srijxgxq5nm73")))) + (base32 "1655qd1khas4qm14k3hl3sh8zh2xaj505344qzm68fz98rfs553w")))) (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)))) + (("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 + (origin + (method url-fetch) + (uri (crate-uri "polars" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s4fqc3vlpz73dbagfsj3hx7y7xmpqnp7nj0cn9srijxgxq5nm73")))) + (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)))))) + (define-public rust-polars-0.15 (package (inherit rust-polars-0.16) @@ -37882,22 +37901,22 @@ applications.") ("rust-polars-io" ,rust-polars-io-0.13) ("rust-polars-lazy" ,rust-polars-lazy-0.13)))))) -(define-public rust-polars-arrow-0.16 +(define-public rust-polars-arrow-0.17 (package (name "rust-polars-arrow") - (version "0.16.0") + (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 "0pwx7nsayn526r9gw16yzqq3r6mn6ivcdxzsj8737whk04qy3ssb")))) + (base32 "16aakfkiaqk71c3n3274r9ra44v0jrc8wwp5nqdr0srd5y6lii0w")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-arrow2" ,rust-arrow2-0.5) + (("rust-arrow2" ,rust-arrow2-0.7) ("rust-num" ,rust-num-0.4) ("rust-thiserror" ,rust-thiserror-1)))) (home-page "https://github.com/ritchie46/polars") @@ -37906,6 +37925,25 @@ applications.") "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 + (origin + (method url-fetch) + (uri (crate-uri "polars-arrow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pwx7nsayn526r9gw16yzqq3r6mn6ivcdxzsj8737whk04qy3ssb")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-arrow2" ,rust-arrow2-0.5) + ("rust-num" ,rust-num-0.4) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-polars-arrow-0.15 (package (inherit rust-polars-arrow-0.16) @@ -37964,24 +38002,25 @@ applications.") ("rust-num" ,rust-num-0.4) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-polars-core-0.16 +(define-public rust-polars-core-0.17 (package (name "rust-polars-core") - (version "0.16.0") + (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 "0knhxc2b0k5jpvm7fxm64b5hjdyqgxjjyi6cnsiy5sya3mj3v9cd")))) + (base32 "1xjv2rja2pzcnn6sazgj2dqzy7gpbp57as6rcf0s0hnpcd054wb7")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:skip-build? + #t #:cargo-inputs (("rust-ahash" ,rust-ahash-0.7) ("rust-anyhow" ,rust-anyhow-1) - ("rust-arrow2" ,rust-arrow2-0.5) + ("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) @@ -37991,7 +38030,7 @@ applications.") ("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.16) + ("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) @@ -38007,6 +38046,44 @@ applications.") "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 + (origin + (method url-fetch) + (uri (crate-uri "polars-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0knhxc2b0k5jpvm7fxm64b5hjdyqgxjjyi6cnsiy5sya3mj3v9cd")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-ahash" ,rust-ahash-0.7) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-arrow2" ,rust-arrow2-0.5) + ("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.16) + ("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)))))) + (define-public rust-polars-core-0.15 (package (inherit rust-polars-core-0.16) @@ -38121,34 +38198,35 @@ applications.") ("rust-thiserror" ,rust-thiserror-1) ("rust-unsafe-unwrap" ,rust-unsafe-unwrap-0.1)))))) -(define-public rust-polars-io-0.16 +(define-public rust-polars-io-0.17 (package (name "rust-polars-io") - (version "0.16.0") + (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 "0yqpjk0ymqpjq6f0mnm9hhw9xmjradx6vqzg5n54qvl6v3s3p3kh")))) + (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.5) + ("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-memmap2" ,rust-memmap2-0.2) + ("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.16) - ("rust-polars-core" ,rust-polars-core-0.16) + ("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)))) @@ -38158,6 +38236,38 @@ applications.") "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 + (origin + (method url-fetch) + (uri (crate-uri "polars-io" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yqpjk0ymqpjq6f0mnm9hhw9xmjradx6vqzg5n54qvl6v3s3p3kh")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-ahash" ,rust-ahash-0.7) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-arrow2" ,rust-arrow2-0.5) + ("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-memmap2" ,rust-memmap2-0.2) + ("rust-num" ,rust-num-0.4) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-polars-arrow" ,rust-polars-arrow-0.16) + ("rust-polars-core" ,rust-polars-core-0.16) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-simdutf8" ,rust-simdutf8-0.1)))))) + (define-public rust-polars-io-0.15 (package (inherit rust-polars-io-0.16) @@ -38259,26 +38369,26 @@ applications.") ("rust-rayon" ,rust-rayon-1) ("rust-regex" ,rust-regex-1)))))) -(define-public rust-polars-lazy-0.16 +(define-public rust-polars-lazy-0.17 (package (name "rust-polars-lazy") - (version "0.16.0") + (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 "01bjsk880dvigyqx7aj3f8zvxpk9gl14k3s40w3dv3aanhdzq7wx")))) + (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.16) - ("rust-polars-core" ,rust-polars-core-0.16) - ("rust-polars-io" ,rust-polars-io-0.16) + ("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") @@ -38288,6 +38398,29 @@ applications.") 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 + (origin + (method url-fetch) + (uri (crate-uri "polars-lazy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01bjsk880dvigyqx7aj3f8zvxpk9gl14k3s40w3dv3aanhdzq7wx")))) + (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.16) + ("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)))))) + (define-public rust-polars-lazy-0.15 (package (inherit rust-polars-lazy-0.16) |