From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 mFVFE9Y1tmVzngAA62LTzQ:P1 (envelope-from ) for ; Sun, 28 Jan 2024 12:09:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mFVFE9Y1tmVzngAA62LTzQ (envelope-from ) for ; Sun, 28 Jan 2024 12:09:10 +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=j9pQfcoP; 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=1706440150; a=rsa-sha256; cv=none; b=MLIEyZd2FRhFbjxD2IRViBh/RJ7MN8M3lKDcrjpAr0i/z9F6+YWVi1T36XjSArNXT8kMs5 QBxq5R2fRW+PxAR2TkrXczjNu+wk7EKVQ8bbjPh/Qya+MIB9lPMxTV2ASBGGFY+Vb5WyfN Cr6JL+OS7AFSYiOoqPMrlLGM+5NbdLaIpLmBA/se7yPCsOL2Ri7tLaigw1D/ZgcLXJSmin phXZQvVMkm0J3Yup72LFYD0E9ql70vgJZKlyBG/rMo/cebKn0p3hcWkhdLPWZTFJ9JNyPh DeH/J1x6znI1mE3vPi58R4SRS0dHtWT8YE5KrERXdqOoJSzmTtOR+YoHUHkS/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=j9pQfcoP; 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=1706440150; 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=uYgKkuoyq3ilt6pxXyu7k68qOy40sbzAeUFs8oS8LFU=; b=jdC6bqgq7dox9p236x9qxw1m+jKNPKbhgfwXKAOpyYF1Fq5UymtGG/ybUpfqsIb7MpDuO1 1LE+YA5VKuefUlb95E3pr7f0jv1IeKiG0aM5LZluK6UkN6vRhdxW8BTryt8sCE3POi92hg kQ07OUZqaGOfBuA2o1VelTA9dceByQCELQAgK2RpFQ/Z7OW+3Agb0FgbiiY+qzlWViKdfi oV7i+p4zgG9LMrml9t3iVdEglyxnRfumfcFH6eix89dQjb9pU2/g+AsfP8OGM8dup6EEsr SFWgRrhTRgdJ0IS5rG8W07zFMGfO5mn25j95Bf+wP+1SZXD9TFR89gtoUMVb2Q== 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 34E457247A for ; Sun, 28 Jan 2024 12:09:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rU320-0003iR-FB; Sun, 28 Jan 2024 06:08:56 -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-0003i1-6b 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 1rU31y-0000ww-Uf for guix-patches@gnu.org; Sun, 28 Jan 2024 06:08:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rU326-0006Kg-Gr for guix-patches@gnu.org; Sun, 28 Jan 2024 06:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68780] [PATCH 14/19] gnu: Add rust-arrow-json-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.170644009424215 (code B ref 68780); Sun, 28 Jan 2024 11:09:02 +0000 Received: (at 68780) by debbugs.gnu.org; 28 Jan 2024 11:08:14 +0000 Received: from localhost ([127.0.0.1]:56728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU31J-0006IV-FX for submit@debbugs.gnu.org; Sun, 28 Jan 2024 06:08:13 -0500 Received: from mout-p-101.mailbox.org ([2001:67c:2050:0:465::101]:43464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU31H-0006IF-RV for 68780@debbugs.gnu.org; Sun, 28 Jan 2024 06:08:12 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (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-101.mailbox.org (Postfix) with ESMTPS id 4TN7vJ6J8hz9sjp for <68780@debbugs.gnu.org>; Sun, 28 Jan 2024 12:07:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1706440076; 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=uYgKkuoyq3ilt6pxXyu7k68qOy40sbzAeUFs8oS8LFU=; b=j9pQfcoPLoIRh3QmZzRbcAo8Q35wFIz2JN+SOZwLmm+XRkVgFd5CPaH/Ji3r6jJkTYA20V hgM+6cdZgdwktE6m1KoQl4n5KhWFrwgPMHffPaZP/VpZ/SL5S9qL3xHiRYnxAs+CY6qW2/ qOnYv7VAHy3O74wQUZ4QdnHWV9A06TDDLWGI0iQi9ynbFGaVQX1Ma0rTe1llzk6uoqBVxf YxCq0KKoinbF6YhFu1VyS1B6sVuUOkTaVPtDEapB762vlt49eyiQVg7Lt8rKbOdEGjtlpz gt0CuBLw8bd/phW5Ht9bXaH74YDLZIoNmBh81PKjwEU6WeEzz7o48UGwwEVtNw== From: Troy Figiel Date: Sun, 28 Jan 2024 09:25:37 +0100 Message-ID: <87r0i1g1gz.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain 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.66 X-Migadu-Queue-Id: 34E457247A X-Migadu-Spam-Score: -5.66 X-TUID: 2QJABCidlUXm * gnu/packages/crates-io.scm (rust-arrow-json-47): New variable. --- gnu/packages/crates-io.scm | 67 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0029223871..ac857f6934 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2684,6 +2684,73 @@ (define-public rust-arrow-format-0.3 code of Apache Arrow spec.") (license license:asl2.0))) +(define-public rust-arrow-json-47 + (package + (name "rust-arrow-json") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-json" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "175ncx809i6gq7i4xr03kxkk3f2nxnd49zjlqg78qs6x0hxpwggh")))) + (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::schema::tests::test_json_infer_schema" + "--skip=reader::tests::test_date_from_json_milliseconds" + "--skip=reader::tests::test_json_arrays" + "--skip=reader::tests::test_json_basic" + "--skip=reader::tests::test_json_basic_schema" + "--skip=reader::tests::test_json_basic_schema_projection" + "--skip=reader::tests::test_json_basic_with_nulls" + "--skip=reader::tests::test_json_empty_projection" + "--skip=reader::tests::test_json_iterator" + "--skip=reader::tests::test_time_from_json_nanoseconds" + "--skip=reader::tests::test_timestamp_from_json_milliseconds" + "--skip=reader::tests::test_timestamp_from_json_seconds" + "--skip=reader::tests::test_with_multiple_batches" + "--skip=writer::tests::test_write_multi_batches" + "--skip=writer::tests::test_write_single_batch" + "--skip=writer::tests::write_arrays" + "--skip=writer::tests::write_basic_nulls" + "--skip=writer::tests::write_basic_rows") + #: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-half" ,rust-half-2) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-lexical-core" ,rust-lexical-core-0.8) + ("rust-num" ,rust-num-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Parse JSON formatted data to and from the Arrow format") + (description + "This crate enables support for transferring data between the Arrow +memory format and JSON line-delimited records.") + (license license:asl2.0))) + (define-public rust-arrow-ord-47 (package (name "rust-arrow-ord") -- 2.42.0