GNU bug report logs - #66839
[PATCH 00/19] Series to add spotifyd

Previous Next

Package: guix-patches;

Reported by: Steve George <steve <at> futurile.net>

Date: Mon, 30 Oct 2023 20:19:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 66839 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 66839 <at> debbugs.gnu.org
Cc: Steve George <steve <at> futurile.net>
Subject: [PATCH 12/19] gnu: Add rust-color-eyre-0.6.
Date: Mon, 30 Oct 2023 21:06:18 +0000
* 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")
-- 
2.41.0





This bug report was last modified 1 year and 202 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.