gnu: Add rust-polars-core-0.14.

* gnu/packages/crates-io.scm (rust-polars-core-0.14): New variable.
(rust-polars-core-0.13): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-06-23 09:47:04 +02:00
parent f75044e780
commit 293d4064dc
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -32864,8 +32864,52 @@ (define-public rust-polars-arrow-0.13
"This crate provides Arrow interfaces for Polars DataFrame library.")
(license license:expat)))
(define-public rust-polars-core-0.14
(package
(name "rust-polars-core")
(version "0.14.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "polars-core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1vlzqsp0hrdixv4gyprlkmyhh7s3m2lnq9nizpm3sqhlccfdahyz"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-ahash" ,rust-ahash-0.7)
("rust-anyhow" ,rust-anyhow-1)
("rust-arrow" ,rust-arrow-4)
("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-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-parquet" ,rust-parquet-4)
("rust-polars-arrow" ,rust-polars-arrow-0.14)
("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.13
(package
(inherit rust-polars-core-0.14)
(name "rust-polars-core")
(version "0.13.4")
(source
@ -32875,7 +32919,6 @@ (define-public rust-polars-core-0.13
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0pb48s1vz2kxiw54xcgcrsbhaxsyg5gb6dbqzkq0gia80y2iwml8"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@ -32899,12 +32942,7 @@ (define-public rust-polars-core-0.13
("rust-regex" ,rust-regex-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-io-0.13
(package