mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-20 01:33:18 -05:00
gnu: Add rust-polars-0.37.
* gnu/packages/crates-io.scm (rust-polars-0.37): New variable. (rust-polars-0.17): Inherit from rust-polars-0.37. Change-Id: Ibd9371383eeed796d28e72f49a9208f7a4537722
This commit is contained in:
parent
c0865319a7
commit
60a9894697
1 changed files with 35 additions and 7 deletions
|
@ -49566,8 +49566,42 @@ (define-public rust-pocket-resources-0.3
|
|||
applications.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-polars-0.37
|
||||
(package
|
||||
(name "rust-polars")
|
||||
(version "0.37.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "polars" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0bv5w5abfqy5hmiblq6j4477d0wyfqbslz128lfqbjqhj329adz4"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-test-flags '("--release" "--lib" "--bins" "--tests" "--"
|
||||
"--skip=io::csv::test_projection"
|
||||
"--skip=io::csv::test_read_csv_file"
|
||||
"--skip=io::csv::test_with_row_index")
|
||||
#:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.2)
|
||||
("rust-polars-core" ,rust-polars-core-0.37)
|
||||
("rust-polars-io" ,rust-polars-io-0.37)
|
||||
("rust-polars-lazy" ,rust-polars-lazy-0.37)
|
||||
("rust-polars-ops" ,rust-polars-ops-0.37)
|
||||
("rust-polars-plan" ,rust-polars-plan-0.37)
|
||||
("rust-polars-sql" ,rust-polars-sql-0.37)
|
||||
("rust-polars-time" ,rust-polars-time-0.37)
|
||||
("rust-version-check" ,rust-version-check-0.9))
|
||||
#:cargo-development-inputs (("rust-ahash" ,rust-ahash-0.8)
|
||||
("rust-rand" ,rust-rand-0.8))))
|
||||
(home-page "https://www.pola.rs/")
|
||||
(synopsis "DataFrame library based on Apache Arrow")
|
||||
(description "Polars is a @code{DataFrame} library based on Apache Arrow.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-polars-0.17
|
||||
(package
|
||||
(inherit rust-polars-0.37)
|
||||
(name "rust-polars")
|
||||
(version "0.17.0")
|
||||
(source
|
||||
|
@ -49577,18 +49611,12 @@ (define-public rust-polars-0.17
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1655qd1khas4qm14k3hl3sh8zh2xaj505344qzm68fz98rfs553w"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-polars-core" ,rust-polars-core-0.17)
|
||||
("rust-polars-io" ,rust-polars-io-0.17)
|
||||
("rust-polars-lazy" ,rust-polars-lazy-0.17))))
|
||||
(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.17))))))
|
||||
|
||||
(define-public rust-polars-arrow-0.17
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue