From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eI0zNe41tmWRBQAAe85BDQ:P1 (envelope-from ) for ; Sun, 28 Jan 2024 12:09:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eI0zNe41tmWRBQAAe85BDQ (envelope-from ) for ; Sun, 28 Jan 2024 12:09:35 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=hEsGn0Lt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706440174; a=rsa-sha256; cv=none; b=Bv/optktgVTUo/ufL64Vgeg6kv68OvtP/nSP9qAdzbEleGhQeUeYKOD8dJBA0GVcmye+4A Aze8aZp7t53Q485sfviEqQf0WDpzY3V6Cj1wLK55ijEMq4rTLn4fjGLwU51BRFs9Sk4KAA Lzolc/gSQrUQEXVpLgYmf9p0LfCgLNnPUL3n95mvPCqMhdAM0RMtCbtx+Y/Dx+1hfMRSTQ ottVbkWJqq/L4xoQS/cE1hkUd9P6Z7ek2zh7Hn5Ds5IXO1+gjeqaKgekcK0Hsp6UFc3KiR nUCwr87ytOcIMUXumIfT6TbKXDqAZjMw69lhRgFpNRnDRIZ7wD5OqtSRA+58HQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=hEsGn0Lt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706440174; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=YHJY8V2zlS7uvB+ILamdd870Jdb5SEDcrdltOHz2cY0=; b=njHJdOo9xAQVd/t5U2LZ57VlyGcVv0ktyLV3HZdSCVbSgYHkPazidIrql8rKQ7/F41CoVj 4MSz3osaZ73ds6EbNUq1a+UXBlbth9BWICz/55BdjopuN4wb0k/iwCio84P9dFRZY0uU+D nnlFClfnLpCNS7JGT9txLvFGo4cezZJZsiB3mORcLJpnrTh+M/gkq2+nLzYqiA+naKu1U9 1LCRiAjV555j9sBAD4Q/bWXyMPxlKFocZV71PDhFaoCGnuzkfuiz39+WXG/RaIBFefuxr+ OvjxwtuxxcvkX05akgClSm7Hcz5Z4+m3VGQTJ3oP4pYu3F3CdxmqOMo78vQR0w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B9799722FF for ; Sun, 28 Jan 2024 12:09:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rU323-0003jr-1b; Sun, 28 Jan 2024 06:08:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rU31z-0003i8-Hk for guix-patches@gnu.org; Sun, 28 Jan 2024 06:08:55 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rU31z-0000x1-9S for guix-patches@gnu.org; Sun, 28 Jan 2024 06:08:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rU326-0006Kn-SD for guix-patches@gnu.org; Sun, 28 Jan 2024 06:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68780] [PATCH 15/19] gnu: Add rust-arrow-csv-47. References: <87bk95hgik.fsf@troyfigiel.com> In-Reply-To: <87bk95hgik.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Jan 2024 11:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68780 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68780@debbugs.gnu.org Received: via spool by 68780-submit@debbugs.gnu.org id=B68780.170644010624247 (code B ref 68780); Sun, 28 Jan 2024 11:09:02 +0000 Received: (at 68780) by debbugs.gnu.org; 28 Jan 2024 11:08:26 +0000 Received: from localhost ([127.0.0.1]:56732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU31V-0006Iz-UH for submit@debbugs.gnu.org; Sun, 28 Jan 2024 06:08:26 -0500 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]:48128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU31T-0006Ig-Bt for 68780@debbugs.gnu.org; Sun, 28 Jan 2024 06:08:24 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4TN7vX0B6gz9sbY for <68780@debbugs.gnu.org>; Sun, 28 Jan 2024 12:08:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1706440088; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=YHJY8V2zlS7uvB+ILamdd870Jdb5SEDcrdltOHz2cY0=; b=hEsGn0LthXnAexv/iKqpPBLxKktaRyeBK57D2KuDukUE/DTLuyQhZOeznQlhEsKhfWgi3V H6xjYIptQYRyVun8HFBG3g1yddYFJjRY8rOHZPlhSglbLSvi1zZ3xcyit+oR9ZDcGAle/Q BNI5mF8Fgbxzm0SG5Jy+eqrHEpFSkL+bsKSUMzTmhFN/BZGakdPnGmgKfTJMmDQRKV0+TG 4+Oo1eLJzeuYsv1WrR7XZwW3H9l+EejrGYeEyBN+eNIIDhGoHRN9TZoTOngX5rg7ydH9lp Jl/s/xj2Pu9Dwe2IUKWC1XtJRSO4QDvZgzasdZxMHqw8HCyDhZgn+Ct9aGFpWw== From: Troy Figiel Date: Sun, 28 Jan 2024 09:38:20 +0100 Message-ID: <87plxlg1go.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4TN7vX0B6gz9sbY X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -5.76 X-Migadu-Queue-Id: B9799722FF X-Migadu-Spam-Score: -5.76 X-TUID: phbzRXYYYIta * gnu/packages/crates-io.scm (rust-arrow-csv-47): New variable. --- 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 ac857f6934..62dcd3b081 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2635,6 +2635,66 @@ (define-public rust-arrow-cast-47 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") -- 2.42.0