summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-02-09 16:43:34 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-02-19 11:39:45 +0100
commit3e3030682813b367e7d28d2651c6be8eee803506 (patch)
tree652b01603811a3b63c3750e1a6e87cd8d0973fb5 /gnu/packages/crates-io.scm
parentb561886e990f7dc0fc75cdeeda1688d0ff4172e1 (diff)
downloadguix-3e3030682813b367e7d28d2651c6be8eee803506.tar.gz
gnu: Add rust-color-backtrace-0.3.
* gnu/packages/crates-io.scm (rust-color-backtrace-0.3): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c1e60ec65e..87ad56991b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11813,6 +11813,24 @@ diagnostics easy and relatively painless for everyone!")
     (description "This package provides colorful panic backtraces.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-color-backtrace-0.3
+  (package
+    (inherit rust-color-backtrace-0.5)
+    (name "rust-color-backtrace")
+    (version "0.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "color-backtrace" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "0mx9ycb70mqbs6z107ri5g09wz5k7pa0vfnys28wfqycg083zlb5"))))
+    (arguments
+      `(#:cargo-inputs
+        (("rust-atty" ,rust-atty-0.2)
+         ("rust-backtrace" ,rust-backtrace-0.3)
+         ("rust-termcolor" ,rust-termcolor-1))))))
+
 (define-public rust-concolor-query
   (package
     (name "rust-concolor-query")