[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/19: gnu: Add rust-arrow-csv-47.
From: |
guix-commits |
Subject: |
15/19: gnu: Add rust-arrow-csv-47. |
Date: |
Sun, 11 Feb 2024 08:46:51 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit ff187f8ead856989148ce83c4b27aa532cf0fa51
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Sun Jan 28 09:38:20 2024 +0100
gnu: Add rust-arrow-csv-47.
* gnu/packages/crates-io.scm (rust-arrow-csv-47): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 60 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9c08d35875..9ea60aa160 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2636,6 +2636,66 @@ for Apache Arrow, such as prettyprinting, parsing, and
Base64 encoding and
decoding.")
(license license:asl2.0)))
+(define-public rust-arrow-csv-47
+ (package
+ (name "rust-arrow-csv")
+ (version "47.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-csv" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wff8a151xspfrcc4lda6g0d9fa6vva63q23gwcxq9miqrfqbvs3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ ;; Test fixtures are not included in the crate tarball. We need to skip
+ ;; the tests that require these.
+ '("--release"
+ ;; Skip the doctests, since some of these also depend on the test
+ ;; fixtures.
+ "--lib" "--bins" "--tests"
+ "--"
+ "--exact"
+ "--skip=reader::tests::test_buffered"
+ "--skip=reader::tests::test_csv"
+ "--skip=reader::tests::test_csv_builder_with_bounds"
+ "--skip=reader::tests::test_csv_from_buf_reader"
+ "--skip=reader::tests::test_csv_reader_with_decimal"
+ "--skip=reader::tests::test_csv_schema_metadata"
+ "--skip=reader::tests::test_csv_with_dictionary"
+ "--skip=reader::tests::test_csv_with_projection"
+ "--skip=reader::tests::test_csv_with_schema_inference"
+ "--skip=reader::tests::test_csv_with_schema_inference_no_headers"
+ "--skip=reader::tests::test_custom_nulls"
+ "--skip=reader::tests::test_custom_nulls_with_inference"
+ "--skip=reader::tests::test_nulls"
+ "--skip=reader::tests::test_nulls_with_inference"
+ "--skip=reader::tests::test_parse_invalid_csv")
+ #:cargo-inputs
+ (("rust-arrow-array" ,rust-arrow-array-47)
+ ("rust-arrow-buffer" ,rust-arrow-buffer-47)
+ ("rust-arrow-cast" ,rust-arrow-cast-47)
+ ("rust-arrow-data" ,rust-arrow-data-47)
+ ("rust-arrow-schema" ,rust-arrow-schema-47)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-csv" ,rust-csv-1)
+ ("rust-csv-core" ,rust-csv-core-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-lexical-core" ,rust-lexical-core-0.8)
+ ("rust-regex" ,rust-regex-1))
+ #:cargo-development-inputs
+ (("rust-bytes" ,rust-bytes-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/apache/arrow-rs")
+ (synopsis "Parse CSV formatted data to and from the Arrow format")
+ (description "This crate enables support for transferring data between the
+Arrow memory format and CSV line-delimited records.")
+ (license license:asl2.0)))
+
(define-public rust-arrow-data-47
(package
(name "rust-arrow-data")
- 08/19: gnu: Add rust-arrow-array-47., (continued)
- 08/19: gnu: Add rust-arrow-array-47., guix-commits, 2024/02/11
- 04/19: gnu: Add rust-arrow-buffer-47., guix-commits, 2024/02/11
- 06/19: gnu: Add rust-chrono-tz-build-0.2., guix-commits, 2024/02/11
- 07/19: gnu: Add rust-chrono-tz-0.8., guix-commits, 2024/02/11
- 03/19: gnu: Add rust-arrow-schema-47., guix-commits, 2024/02/11
- 09/19: gnu: Add rust-arrow-select-47., guix-commits, 2024/02/11
- 10/19: gnu: Add rust-arrow-string-47., guix-commits, 2024/02/11
- 13/19: gnu: Add rust-arrow-cast-47., guix-commits, 2024/02/11
- 11/19: gnu: Add rust-arrow-ord-47., guix-commits, 2024/02/11
- 12/19: gnu: Add rust-comfy-table-7., guix-commits, 2024/02/11
- 15/19: gnu: Add rust-arrow-csv-47.,
guix-commits <=
- 16/19: gnu: Add rust-arrow-row-47., guix-commits, 2024/02/11
- 18/19: gnu: Add rust-arrow-arith-47., guix-commits, 2024/02/11
- 17/19: gnu: Add rust-arrow-ipc-47., guix-commits, 2024/02/11
- 19/19: gnu: Add rust-arrow-47., guix-commits, 2024/02/11
- 14/19: gnu: Add rust-arrow-json-47., guix-commits, 2024/02/11