gnu: Add rust-polars-0.14.

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

View file

@ -32813,8 +32813,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.14
(package
(name "rust-polars")
(version "0.14.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "polars" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0mjp68cjya17gfvc0kqy7wkcggrnjn1pd2pgxpn8ba5b7mgn9lcy"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-polars-core" ,rust-polars-core-0.14)
("rust-polars-io" ,rust-polars-io-0.14)
("rust-polars-lazy" ,rust-polars-lazy-0.14))))
(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.13
(package
(inherit rust-polars-0.14)
(name "rust-polars")
(version "0.13.4")
(source
@ -32826,18 +32851,12 @@ (define-public rust-polars-0.13
(sha256
(base32
"104s1r0ndwz3blklbfshkm0km0602w9rqg9lbaq36zbbf93cw1n4"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-polars-core" ,rust-polars-core-0.13)
("rust-polars-io" ,rust-polars-io-0.13)
("rust-polars-lazy" ,rust-polars-lazy-0.13))))
(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.13))))))
(define-public rust-polars-arrow-0.14
(package