From patchwork Sat Apr 27 12:35:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 63461 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 9056A27BBE2; Sat, 27 Apr 2024 14:01:42 +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=ham 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 076D827BBEA for ; Sat, 27 Apr 2024 14:01:40 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0hgG-0002lw-8w; Sat, 27 Apr 2024 09:01:28 -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 1s0hgC-0002jw-0L for guix-patches@gnu.org; Sat, 27 Apr 2024 09:01:24 -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 1s0hgA-0003uk-Lo for guix-patches@gnu.org; Sat, 27 Apr 2024 09:01:23 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s0hgS-0000ds-SD; Sat, 27 Apr 2024 09:01:40 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70606] [PATCH rust-team 083/101] gnu: Place rust-const-panic-proc-macros-0.2 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:01:40 +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.17142228431783 (code B ref 70606); Sat, 27 Apr 2024 13:01:40 +0000 Received: (at 70606) by debbugs.gnu.org; 27 Apr 2024 13:00:43 +0000 Received: from localhost ([127.0.0.1]:39388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0hfD-0000PH-HD for submit@debbugs.gnu.org; Sat, 27 Apr 2024 09:00:41 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:33537 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0hKL-0004EK-Oo for 70606@debbugs.gnu.org; Sat, 27 Apr 2024 08:39:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714221425; 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=TlGXYtR0hM42VZ8C4INOAFVeBPTYyvUPpEswu0Zj2d8=; b=Afr6syJ7jsE7qfSiF0JTWm4eZnTtvcJtUY5iGNlsp9P2dwrZheU4UreOtq4v8Btlu+qZxp AzOj0IYOJjcKelbDjZTenfiuQWcz7WxIpqV0PEqOWrRygrgSQ6t3mWJF4VGKGq75vCqID3 ioG/1AhypYYetCJldrVKs7ymihvfAzSUJP66EvA8VK6Y3vBfqNiVOOL7unQ6V+LfAJ9CKB bQD2UtMCNUH24wxdFlvt/OHsnibU1iph1hiG5txb1TSURogVW8V7fLWPAlphgsgU/ppEOy XprwZsNW8MxSnBRYJ7kOWLspkcCRwse7T8p8sfZ4O8RPRxwKeYNUWnppAw79Tw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 412d227e (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <70606@debbugs.gnu.org>; Sat, 27 Apr 2024 12:37:05 +0000 (UTC) Date: Sat, 27 Apr 2024 14:35:45 +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-const-panic-proc-macros-0.2, rust-const-panic-0.2, rust-const-format-proc-macros-0.2, rust-const-format-0.2, rust-const-fn-assert-0.1, rust-const-cstr-0.3, rust-condtype-1, rust-compound-duration-1): Move variables. Change-Id: I2bde6b9c631acd58ac33d90d951909b4cd71c51a --- gnu/packages/crates-io.scm | 335 ++++++++++++++++++------------------- 1 file changed, 166 insertions(+), 169 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7004478cde..0e908ca219 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14209,175 +14209,6 @@ (define-public rust-compact-str-0.7 stores strings on the stack, when possible.") (license license:expat))) -(define-public rust-compound-duration-1 - (package - (name "rust-compound-duration") - (version "1.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "compound_duration" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0rb5kasd7044xxb73wz2qqxv6iwawp9gipvqhya8yybafh7a679r")))) - (build-system cargo-build-system) - (home-page "https://docs.rs/compound_duration/latest/compound_duration/") - (synopsis "Convert seconds to compound duration") - (description - "Convert seconds to compound duration, such as: week, days, hours, -minutes, seconds.") - (license license:bsd-3))) - -(define-public rust-condtype-1 - (package - (name "rust-condtype") - (version "1.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "condtype" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1by78npyhkc30jccc7kirvwip1fj0jhi2bwfmcw44dqz81xa1w5s")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/nvzqz/condtype") - (synopsis "Choose types at compile-time via boolean constants") - (description "Choose types at compile-time via boolean constants.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-const-cstr-0.3 - (package - (name "rust-const-cstr") - (version "0.3.0") - (source (origin - (method url-fetch) - (uri (crate-uri "const-cstr" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19ij6m8s16d0i7vma535l7w4x8bcanjcxs7c6n7sci86ydghnggd")))) - (build-system cargo-build-system) - (home-page "https://github.com/cybergeek94/const-cstr") - (synopsis "Create static C-compatible strings from Rust string literals") - (description - "This crate lets you create static C-compatible strings from Rust string -literals.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-const-fn-assert-0.1 - (package - (name "rust-const-fn-assert") - (version "0.1.2") - (source (origin - (method url-fetch) - (uri (crate-uri "const_fn_assert" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1451yxndri5zj95lyjzckj7m3qlpyj8ibp3pb8bbbxrl7zr19mi7")))) - (build-system cargo-build-system) - (home-page "https://github.com/powlpy/const_fn_assert") - (synopsis "Assertions for const functions") - (description "Assertions for const functions.") - (license license:expat))) - -(define-public rust-const-format-0.2 - (package - (name "rust-const-format") - (version "0.2.32") - (source - (origin - (method url-fetch) - (uri (crate-uri "const_format" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wvns8mzqwkyciwr00p2g5g4ak7zz8m473di85srj11xmz3i98p3")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--release" "--features=__test") - #:cargo-inputs - (("rust-const-format-proc-macros" ,rust-const-format-proc-macros-0.2) - ("rust-konst" ,rust-konst-0.2)) - #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) - ("rust-fastrand" ,rust-fastrand-1)))) - (home-page "https://github.com/rodrimati1992/const_format_crates/") - (synopsis "Compile-time string formatting") - (description "This package provides compile-time string formatting.") - (license license:zlib))) - -(define-public rust-const-format-proc-macros-0.2 - (package - (name "rust-const-format-proc-macros") - (version "0.2.32") - (source - (origin - (method url-fetch) - (uri (crate-uri "const_format_proc_macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0015dzbjbd773nn6096dwqv11fm8m3gy4a4a56cz5x10zl4gzxn7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1) - ("rust-unicode-xid" ,rust-unicode-xid-0.2)) - #:cargo-development-inputs (("rust-fastrand" ,rust-fastrand-1)))) - (home-page "https://github.com/rodrimati1992/const_format_crates/") - (synopsis "Implementation detail of the @code{const_format} crate") - (description "Implementation detail of the @code{const_format} crate.") - (license license:zlib))) - -(define-public rust-const-panic-0.2 - (package - (name "rust-const-panic") - (version "0.2.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "const_panic" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "16w72mnzjqgwfhlq8cqm6xhd2n6lc1wan08987izv1pcxhwz4lb0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--release" "--features=test") - #:cargo-inputs - (("rust-const-panic-proc-macros" ,rust-const-panic-proc-macros-0.2) - ("rust-typewit" ,rust-typewit-1)) - #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/rodrimati1992/const_panic/") - (synopsis "Const panic with formatting") - (description "This package provides const panic with formatting.") - (license license:zlib))) - -(define-public rust-const-panic-proc-macros-0.2 - (package - (name "rust-const-panic-proc-macros") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "const_panic_proc_macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1addx3a8vi02cdak3ygrqivv02jj73251h85x49aic78yznrhlrr")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1) - ("rust-unicode-xid" ,rust-unicode-xid-0.2)))) - (home-page "https://github.com/rodrimati1992/const_panic/") - (synopsis "Implementation detail of the `const_panic` crate") - (description "Implementation detail of the `const_panic` crate.") - (license license:zlib))) - ;; This package requires features which are unavailable ;; on the stable releases of Rust. (define-public rust-compiler-builtins-0.1 @@ -14569,6 +14400,25 @@ (define-public rust-completest-pty-0.5 "This package provides running completions for your program.") (license (list license:expat license:asl2.0)))) +(define-public rust-compound-duration-1 + (package + (name "rust-compound-duration") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "compound_duration" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rb5kasd7044xxb73wz2qqxv6iwawp9gipvqhya8yybafh7a679r")))) + (build-system cargo-build-system) + (home-page "https://docs.rs/compound_duration/latest/compound_duration/") + (synopsis "Convert seconds to compound duration") + (description + "Convert seconds to compound duration, such as: week, days, hours, +minutes, seconds.") + (license license:bsd-3))) + (define-public rust-comrak-0.18 (package (name "rust-comrak") @@ -14852,6 +14702,26 @@ (define-public rust-concurrent-queue-1 (("rust-easy-parallel" ,rust-easy-parallel-3) ("rust-fastrand" ,rust-fastrand-1)))))) +(define-public rust-condtype-1 + (package + (name "rust-condtype") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "condtype" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1by78npyhkc30jccc7kirvwip1fj0jhi2bwfmcw44dqz81xa1w5s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/nvzqz/condtype") + (synopsis "Choose types at compile-time via boolean constants") + (description "Choose types at compile-time via boolean constants.") + (license (list license:expat license:asl2.0)))) + (define-public rust-config-0.13 (package (name "rust-config") @@ -15262,6 +15132,25 @@ (define-public rust-console-log-0.1 the browser's console.") (license (list license:expat license:asl2.0)))) +(define-public rust-const-cstr-0.3 + (package + (name "rust-const-cstr") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "const-cstr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19ij6m8s16d0i7vma535l7w4x8bcanjcxs7c6n7sci86ydghnggd")))) + (build-system cargo-build-system) + (home-page "https://github.com/cybergeek94/const-cstr") + (synopsis "Create static C-compatible strings from Rust string literals") + (description + "This crate lets you create static C-compatible strings from Rust string +literals.") + (license (list license:expat license:asl2.0)))) + (define-public rust-const-fn-0.4 (package (name "rust-const-fn") @@ -15281,6 +15170,69 @@ (define-public rust-const-fn-0.4 const functions with conditional compilations.") (license (list license:asl2.0 license:expat)))) +(define-public rust-const-fn-assert-0.1 + (package + (name "rust-const-fn-assert") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "const_fn_assert" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1451yxndri5zj95lyjzckj7m3qlpyj8ibp3pb8bbbxrl7zr19mi7")))) + (build-system cargo-build-system) + (home-page "https://github.com/powlpy/const_fn_assert") + (synopsis "Assertions for const functions") + (description "Assertions for const functions.") + (license license:expat))) + +(define-public rust-const-format-0.2 + (package + (name "rust-const-format") + (version "0.2.32") + (source + (origin + (method url-fetch) + (uri (crate-uri "const_format" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wvns8mzqwkyciwr00p2g5g4ak7zz8m473di85srj11xmz3i98p3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--features=__test") + #:cargo-inputs (("rust-const-format-proc-macros" ,rust-const-format-proc-macros-0.2) + ("rust-konst" ,rust-konst-0.2)) + #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) + ("rust-fastrand" ,rust-fastrand-1)))) + (home-page "https://github.com/rodrimati1992/const_format_crates/") + (synopsis "Compile-time string formatting") + (description "This package provides compile-time string formatting.") + (license license:zlib))) + +(define-public rust-const-format-proc-macros-0.2 + (package + (name "rust-const-format-proc-macros") + (version "0.2.32") + (source + (origin + (method url-fetch) + (uri (crate-uri "const_format_proc_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0015dzbjbd773nn6096dwqv11fm8m3gy4a4a56cz5x10zl4gzxn7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1) + ("rust-unicode-xid" ,rust-unicode-xid-0.2)) + #:cargo-development-inputs (("rust-fastrand" ,rust-fastrand-1)))) + (home-page "https://github.com/rodrimati1992/const_format_crates/") + (synopsis "Implementation detail of the @code{const_format} crate") + (description "Implementation detail of the @code{const_format} crate.") + (license license:zlib))) + (define-public rust-const-oid-0.9 (package (name "rust-const-oid") @@ -15334,6 +15286,51 @@ (define-public rust-const-oid-0.6 (base32 "12vv7csqqjj0x1l5mf51lgqiw76k5c3mb1yzfhfcqysks2j2lvwx")))) (arguments `(#:skip-build? #t)))) +(define-public rust-const-panic-0.2 + (package + (name "rust-const-panic") + (version "0.2.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "const_panic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16w72mnzjqgwfhlq8cqm6xhd2n6lc1wan08987izv1pcxhwz4lb0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--features=test") + #:cargo-inputs (("rust-const-panic-proc-macros" ,rust-const-panic-proc-macros-0.2) + ("rust-typewit" ,rust-typewit-1)) + #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/rodrimati1992/const_panic/") + (synopsis "Const panic with formatting") + (description "This package provides const panic with formatting.") + (license license:zlib))) + +(define-public rust-const-panic-proc-macros-0.2 + (package + (name "rust-const-panic-proc-macros") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "const_panic_proc_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1addx3a8vi02cdak3ygrqivv02jj73251h85x49aic78yznrhlrr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1) + ("rust-unicode-xid" ,rust-unicode-xid-0.2)))) + (home-page "https://github.com/rodrimati1992/const_panic/") + (synopsis "Implementation detail of the `const_panic` crate") + (description "Implementation detail of the `const_panic` crate.") + (license license:zlib))) + (define-public rust-const-random-0.1 (package (name "rust-const-random")