gnu: Add rust-polars-core-0.16.

* gnu/packages/crates-io.scm (rust-polars-core-0.16): New variable.
(rust-polars-core-0.15): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-10-06 21:49:17 +02:00
parent bc85e5c072
commit 4bbb2248c4
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -35841,8 +35841,52 @@ (define-public rust-polars-arrow-0.13
("rust-num" ,rust-num-0.4)
("rust-thiserror" ,rust-thiserror-1))))))
(define-public rust-polars-core-0.16
(package
(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"))))
(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-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))))
(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.15
(package
(inherit rust-polars-core-0.16)
(name "rust-polars-core")
(version "0.15.1")
(source
@ -35852,7 +35896,6 @@ (define-public rust-polars-core-0.15
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0vzyyqg0s6h3k77z7nkmqrrgnp7nbi7sh5nmlw1ggrlml9ps0aa9"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@ -35878,12 +35921,7 @@ (define-public rust-polars-core-0.15
("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.14
(package