gnu: Add rust-polars-0.16.

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

View file

@ -35695,8 +35695,33 @@ (define-public rust-podio-0.1
"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
(package
(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"))))
(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)))
(define-public rust-polars-0.15
(package
(inherit rust-polars-0.16)
(name "rust-polars")
(version "0.15.1")
(source
@ -35706,18 +35731,12 @@ (define-public rust-polars-0.15
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1sl7vs6ck05f8w8jp7v75431b4v5j2rvvvw53jqgxc5226i7a2h8"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-polars-core" ,rust-polars-core-0.15)
("rust-polars-io" ,rust-polars-io-0.15)
("rust-polars-lazy" ,rust-polars-lazy-0.15))))
(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.15))))))
(define-public rust-polars-0.14
(package