Subject: [PATCH 20/87] gnu: Add rust-better-panic-0.3.0.

From: VÖRÖSKŐI András <[email-masked]>
Date: Sat, 24 Feb 2024 21:39:18 +0100

* gnu/packages/crates-io.scm (rust-better-panic-0.3): New variable.

Change-Id: I0068772228ab1d6ebaa2803bba14ec47b62981f6
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 516f990970..51d7659208 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5984,6 +5984,27 @@ (define-public rust-bencher-0.1
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-better-panic-0.3
+  (package
+    (name "rust-better-panic")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "better-panic" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0djh7qs39z0mbkzxs4nrc9ngnyjpsxq67lqfv75q91i63b8y3abg"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3)
+                       ("rust-console" ,rust-console-0.15)
+                       ("rust-syntect" ,rust-syntect-4))))
+    (home-page "https://github.com/mitsuhiko/better-panic")
+    (synopsis "panic backtraces")
+    (description "Pretty panic backtraces inspired by Python's tracebacks.")
+    (license license:expat)))
+
 (define-public rust-bigdecimal-0.4
   (package
     (name "rust-bigdecimal")
-- 
2.41.0