summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-28 09:43:56 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:58:55 +0200
commit47c2fe3e268db8b7dd4321f64b05b2da31d448e7 (patch)
tree717b23709d430a7b4621207ac6561f067d182a49 /gnu
parent2550ed8fde072b4822d35731f36593828a0f1152 (diff)
downloadguix-47c2fe3e268db8b7dd4321f64b05b2da31d448e7.tar.gz
gnu: Add rust-color-spantrace-0.2.
* gnu/packages/crates-io.scm (rust-color-spantrace-0.2): New variable.

Change-Id: I989938344a339443b82c9dd452c72c5a342627d1
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dfbd86f79e..b1cc00d4ed 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14323,6 +14323,35 @@ and well formatted error reports for all kinds of errors.")
 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))
+       #:cargo-development-inputs
+       (("rust-ansi-parser" ,rust-ansi-parser-0.8)
+        ("rust-tracing" ,rust-tracing-0.1)
+        ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
+    (home-page "https://github.com/yaahc/color-spantrace")
+    (synopsis
+     "Pretty printer for tracing_error::SpanTrace based on color-backtrace")
+    (description
+     "This package provides a pretty printer for tracing_error::@code{SpanTrace}
+based on color-backtrace.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-colorchoice-1
   (package
     (name "rust-colorchoice")