From patchwork Sat Apr 27 12:35:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 63473 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1238827BBE9; Sat, 27 Apr 2024 14:07:56 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AA3D527BBE2 for ; Sat, 27 Apr 2024 14:07:53 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0hlv-0003lK-4Q; Sat, 27 Apr 2024 09:07:19 -0400 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 1s0hlu-0003l4-67 for guix-patches@gnu.org; Sat, 27 Apr 2024 09:07:18 -0400 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 1s0hlt-00055u-U7 for guix-patches@gnu.org; Sat, 27 Apr 2024 09:07:17 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s0hmC-0000a1-0w; Sat, 27 Apr 2024 09:07:36 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70606] [PATCH rust-team 079/101] gnu: Place rust-csv-index-0.1 in alphabetical order. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 27 Apr 2024 13:07:35 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70606 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70606@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 70606-submit@debbugs.gnu.org id=B70606.17142232432065 (code B ref 70606); Sat, 27 Apr 2024 13:07:35 +0000 Received: (at 70606) by debbugs.gnu.org; 27 Apr 2024 13:07:23 +0000 Received: from localhost ([127.0.0.1]:54787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0hll-0000UY-Hk for submit@debbugs.gnu.org; Sat, 27 Apr 2024 09:07:21 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:47391 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0hKg-0004Bh-Qf for 70606@debbugs.gnu.org; Sat, 27 Apr 2024 08:39:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714221424; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vkDyFR+2gA/tHDFkOYaXK3b0CbuTa/rlzs+9DMNwrMo=; b=FQbO1pj6Sy536bzjLNmZELbkXn8JhaW2sWH7XX1OaQmH5gvSdFTwzX6PHVBBLUJAGtXFVM N5oyqlsVB0uVmm4bYsOZSRL3LdcmyCeXkIem4RG99ecQWUI2+dHYSjjCWw43od5Bs1Hreu FP9mw/t8IT117bShVd3jU7IbX6CBzbHB39RGF7FqCSK2mrpWL9mDz4Jivft/UzJWm+2LrV gAbFcGAR3upva57keCoaCw5nI9enk+YRRGq94Klu3Fb9Stn00fb0Gio5lCVWuBPpjtiYHT 04MrCIFuOiBCOybg2raxS3BOans8mXBqaa66ekSr5o1a2eHMgxc7/pGcGAVE2g== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id c3874ae9 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <70606@debbugs.gnu.org>; Sat, 27 Apr 2024 12:37:04 +0000 (UTC) Date: Sat, 27 Apr 2024 14:35:41 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-csv-index-0.1, rust-csv-async-1, rust-cstr-0.2, rust-cstr-core-0.2): Swap variables. Change-Id: I35334529d071f1e29465657c5bd324ce36fa063e --- gnu/packages/crates-io.scm | 162 ++++++++++++++++++------------------- 1 file changed, 81 insertions(+), 81 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2296e446ad..d78044c394 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18002,59 +18002,50 @@ (define-public rust-cssparser-macros-0.6 "This package provides the procedural macros for rust-cssparser.") (license license:mpl2.0))) -(define-public rust-csv-async-1 +(define-public rust-cstr-0.2 (package - (name "rust-csv-async") - (version "1.3.0") + (name "rust-cstr") + (version "0.2.12") (source (origin (method url-fetch) - (uri (crate-uri "csv-async" version)) + (uri (crate-uri "cstr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1w60k4pqm1lnbv0mbz1d1ypmkx487r0q36hyrrh84jkzs2qfazyk")))) + (base32 "0dj6ll9ry27kn4k0vvhlvbhn9dyyr9haxnd06bxaqnmfr01kjlk8")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Errors in the test suite code. - #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-csv-core" ,rust-csv-core-0.1) - ("rust-futures" ,rust-futures-0.3) - ("rust-itoa" ,rust-itoa-1) - ("rust-ryu" ,rust-ryu-1) - ("rust-serde" ,rust-serde-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-stream" ,rust-tokio-stream-0.1)) - #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) - ("rust-bstr" ,rust-bstr-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-indoc" ,rust-indoc-2) - ("rust-serde" ,rust-serde-1) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/gwierzchowski/csv-async") - (synopsis "CSV parsing for async") - (description "This package provides CSV parsing for async.") + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1)) + #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/upsuper/cstr") + (synopsis "Macro for building static CStr reference") + (description + "This package provides the macro for building static CStr reference.") (license license:expat))) -(define-public rust-csv-index-0.1 +(define-public rust-cstr-core-0.2 (package - (name "rust-csv-index") - (version "0.1.6") - (source (origin - (method url-fetch) - (uri (crate-uri "csv-index" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "01048y84y0bakqm0x4y1svjv6lzc753b9q598xp7xgcqrdgi6x7j")))) + (name "rust-cstr-core") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "cstr_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fymp34mv7bix8m35pw3qs30b7879wmaym03ihfbzdl84plwa1r8")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-csv" ,rust-csv-1)))) - (home-page "https://github.com/BurntSushi/rust-csv") - (synopsis "On disk CSV indexing data structures") - (description "On disk CSV indexing data structures.") - (license (list license:unlicense license:expat)))) + `(#:skip-build? #t + #:cargo-inputs + (("rust-cty" ,rust-cty-0.2) + ("rust-memchr" ,rust-memchr-2)))) + (home-page "https://github.com/Amanieu/cstr_core") + (synopsis "Implementation of CStr and CString for no_std environments") + (description + "This crates implements CStr and CString for no_std environments.") + (license (list license:asl2.0 license:expat)))) (define-public rust-csv-1 (package @@ -18101,6 +18092,39 @@ (define-public rust-csv-0.14 #:cargo-development-inputs (("rust-regex" ,rust-regex-0.1)))))) +(define-public rust-csv-async-1 + (package + (name "rust-csv-async") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "csv-async" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w60k4pqm1lnbv0mbz1d1ypmkx487r0q36hyrrh84jkzs2qfazyk")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Errors in the test suite code. + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-csv-core" ,rust-csv-core-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-itoa" ,rust-itoa-1) + ("rust-ryu" ,rust-ryu-1) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-bstr" ,rust-bstr-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-indoc" ,rust-indoc-2) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/gwierzchowski/csv-async") + (synopsis "CSV parsing for async") + (description "This package provides CSV parsing for async.") + (license license:expat))) + (define-public rust-csv-core-0.1 (package (name "rust-csv-core") @@ -18121,50 +18145,26 @@ (define-public rust-csv-core-0.1 (description "Bare bones CSV parsing with no_std support.") (license (list license:unlicense license:expat)))) -(define-public rust-cstr-0.2 - (package - (name "rust-cstr") - (version "0.2.12") - (source - (origin - (method url-fetch) - (uri (crate-uri "cstr" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0dj6ll9ry27kn4k0vvhlvbhn9dyyr9haxnd06bxaqnmfr01kjlk8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1)) - #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)))) - (home-page "https://github.com/upsuper/cstr") - (synopsis "Macro for building static CStr reference") - (description - "This package provides the macro for building static CStr reference.") - (license license:expat))) - -(define-public rust-cstr-core-0.2 +(define-public rust-csv-index-0.1 (package - (name "rust-cstr-core") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "cstr_core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1fymp34mv7bix8m35pw3qs30b7879wmaym03ihfbzdl84plwa1r8")))) + (name "rust-csv-index") + (version "0.1.6") + (source (origin + (method url-fetch) + (uri (crate-uri "csv-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "01048y84y0bakqm0x4y1svjv6lzc753b9q598xp7xgcqrdgi6x7j")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cty" ,rust-cty-0.2) - ("rust-memchr" ,rust-memchr-2)))) - (home-page "https://github.com/Amanieu/cstr_core") - (synopsis "Implementation of CStr and CString for no_std environments") - (description - "This crates implements CStr and CString for no_std environments.") - (license (list license:asl2.0 license:expat)))) + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-csv" ,rust-csv-1)))) + (home-page "https://github.com/BurntSushi/rust-csv") + (synopsis "On disk CSV indexing data structures") + (description "On disk CSV indexing data structures.") + (license (list license:unlicense license:expat)))) (define-public rust-ct-codecs-1 (package