From patchwork Mon Oct 30 21:06:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 55664 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 7E20A27BBEA; Mon, 30 Oct 2023 21:09:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 DD1BB27BBE2 for ; Mon, 30 Oct 2023 21:09:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxZUw-00066d-Cx; Mon, 30 Oct 2023 17:08:34 -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 1qxZUu-000659-8o for guix-patches@gnu.org; Mon, 30 Oct 2023 17:08:32 -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 1qxZUu-0004gh-01 for guix-patches@gnu.org; Mon, 30 Oct 2023 17:08:32 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxZVQ-0000lQ-4z; Mon, 30 Oct 2023 17:09:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66839] [PATCH 12/19] gnu: Add rust-color-eyre-0.6. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 30 Oct 2023 21:09:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66839 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66839@debbugs.gnu.org Cc: Steve George , efraim@flashner.co.il X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 66839-submit@debbugs.gnu.org id=B66839.16987001172777 (code B ref 66839); Mon, 30 Oct 2023 21:09:04 +0000 Received: (at 66839) by debbugs.gnu.org; 30 Oct 2023 21:08:37 +0000 Received: from localhost ([127.0.0.1]:46811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxZUz-0000ii-2J for submit@debbugs.gnu.org; Mon, 30 Oct 2023 17:08:37 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:39130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxZUt-0000hj-Tb for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 17:08:32 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qxZUG-00FbJX-RI for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 22:07:52 +0100 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qxZUG-0005Ct-GB for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 22:07:52 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qxZUB-007Gws-NZ; Mon, 30 Oct 2023 22:07:47 +0100 From: Steve George Date: Mon, 30 Oct 2023 21:06:18 +0000 Message-ID: <00d8a48a2445f9b35970211025c287345fdc35ae.1698699809.git.steve@futurile.net> 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: , 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-color-eyre-0.6) New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 05f47df54b..9e95e8b485 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13951,6 +13951,35 @@ (define-public rust-coitrees-0.2 sets of intervals.") (license license:expat))) +(define-public rust-color-eyre-0.6 + (package + (name "rust-color-eyre") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "color-eyre" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "014j49slcblg6cnsh974k9yjmi1khbm4dpmqdm1zii58rj1parjs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags (list "--release" "--" + "--skip=test_error_backwards_compatibility") + #:cargo-inputs (("rust-eyre" ,rust-eyre-0.6) + ("rust-indenter" ,rust-indenter-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-owo-colors" ,rust-owo-colors-3) + ("rust-color-spantrace" ,rust-color-spantrace-0.2)) + #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/eyre-rs/color-eyre") + (synopsis + "Error handler for Rust that creates colorful and consistent reports") + (description + "Rust error handling for panics and the @code{eyre} crate, that produces +colorful, consistent, and well formatted error reports.") + (license license:expat))) + (define-public rust-color-print-0.3 (package (name "rust-color-print")