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 @@ both WASM and native applications")
|
||||||
applications.")
|
applications.")
|
||||||
(license license:expat)))
|
(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
|
(define-public rust-polars-0.17
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-polars-0.37)
|
||||||
(name "rust-polars")
|
(name "rust-polars")
|
||||||
(version "0.17.0")
|
(version "0.17.0")
|
||||||
(source
|
(source
|
||||||
|
|
@ -49577,18 +49611,12 @@ applications.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1655qd1khas4qm14k3hl3sh8zh2xaj505344qzm68fz98rfs553w"))))
|
(base32 "1655qd1khas4qm14k3hl3sh8zh2xaj505344qzm68fz98rfs553w"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-polars-core" ,rust-polars-core-0.17)
|
(("rust-polars-core" ,rust-polars-core-0.17)
|
||||||
("rust-polars-io" ,rust-polars-io-0.17)
|
("rust-polars-io" ,rust-polars-io-0.17)
|
||||||
("rust-polars-lazy" ,rust-polars-lazy-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)))
|
|
||||||
|
|
||||||
(define-public rust-polars-arrow-0.17
|
(define-public rust-polars-arrow-0.17
|
||||||
(package
|
(package
|
||||||
|
|
|
||||||
Reference in a new issue