diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-28 09:42:49 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-28 07:58:55 +0200 |
commit | 593d7dc122da703e413280671d46e82438b582c0 (patch) | |
tree | b678e1e8329e1eaaedc809e9d1d5cecea4b9c705 | |
parent | d1caa961598c8c6a0c47f1f422f55cd42574f9d5 (diff) | |
download | guix-593d7dc122da703e413280671d46e82438b582c0.tar.gz |
gnu: Add rust-color-eyre-0.6.
* gnu/packages/crates-io.scm (rust-color-eyre-0.6): New variable. Change-Id: I41f0c64c8e7ca675aea6b5b74b7e2926cff8d32b
-rw-r--r-- | gnu/packages/crates-io.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d785277038..216c0fd4e7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14219,6 +14219,43 @@ diagnostics easy and relatively painless for everyone!") 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 '("--release" "--" + "--skip=test_error_backwards_compatibility") + #:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-color-spantrace" ,rust-color-spantrace-0.2) + ("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-tracing-error" ,rust-tracing-error-0.2) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-ansi-parser" ,rust-ansi-parser-0.8) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (home-page "https://github.com/yaahc/color-eyre") + (synopsis "Error report handler for panics") + (description + "An error report handler for panics and eyre::Reports for colorful, consistent, +and well formatted error reports for all kinds of errors.") + (license (list license:expat license:asl2.0)))) + (define-public rust-color-print-0.3 (package (name "rust-color-print") |