aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-23 09:51:21 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-07-27 16:34:08 +0200
commitafec299536dd3739868269ad57672ff842afc510 (patch)
tree5d0331f4ec82b534dda2ac19453a9bad03c61d57
parentf686977bec614e072327fe0e8f5055cb0fa823a9 (diff)
downloadguix-afec299536dd3739868269ad57672ff842afc510.tar.gz
guix-afec299536dd3739868269ad57672ff842afc510.zip
gnu: Add rust-polars-0.14.
* gnu/packages/crates-io.scm (rust-polars-0.14): New variable. (rust-polars-0.13): Inherit from above.
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5d4a2b71fc..1dfc33e399 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32813,8 +32813,33 @@ 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.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 @@ applications.")
(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