From 47c2fe3e268db8b7dd4321f64b05b2da31d448e7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 28 Oct 2023 09:43:56 +0300 Subject: gnu: Add rust-color-spantrace-0.2. * gnu/packages/crates-io.scm (rust-color-spantrace-0.2): New variable. Change-Id: I989938344a339443b82c9dd452c72c5a342627d1 --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu') 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") -- cgit 1.4.1