Subject: [bug#66839] [PATCH 11/19] gnu: Add rust-color-spantrace-0.2.

From: Steve George <[email-masked]>
Date: Mon, 30 Oct 2023 21:06:17 +0000

* gnu/packages/crates-io.scm (rust-color-spantrace-0.2): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8f267a8dd8..05f47df54b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14018,6 +14018,29 @@ (define-public rust-color-quant-1
 colors.")
     (license license:expat)))
 
+(define-public rust-color-spantrace-0.2
+  (package
+    (name "rust-color-spantrace")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "color-spantrace" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1kldrjm5j3mzz6c84brxshnzm1qbvjglgg7c4z5xrv29jhymp9qv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-owo-colors" ,rust-owo-colors-3)
+                       ("rust-tracing-core" ,rust-tracing-core-0.1)
+                       ("rust-tracing-error" ,rust-tracing-error-0.2)
+                       ("rust-ansi-parser" ,rust-ansi-parser-0.8))))
+    (home-page "https://github.com/eyre-rs/color-spantrace")
+    (synopsis "Library that adds colour to @code{Tracing} errors")
+    (description "A Rust library that extends @code{Tracing} to add colours.")
+    (license license:expat)))
+
 (define-public rust-colorchoice-1
   (package
     (name "rust-colorchoice")
-- 
2.41.0