guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

17/135: gnu: Add rust-better-panic-0.3.


From: guix-commits
Subject: 17/135: gnu: Add rust-better-panic-0.3.
Date: Wed, 27 Mar 2024 04:54:42 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 6fd77a3fb78160fe069bec512009bb914a753e84
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:39:18 2024 +0100

    gnu: Add rust-better-panic-0.3.
    
    * gnu/packages/crates-io.scm (rust-better-panic-0.3): New variable.
    
    Change-Id: I0068772228ab1d6ebaa2803bba14ec47b62981f6
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 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 1773533868..08021bae8c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6840,6 +6840,27 @@ and no more (caveat: black_box is still missing!).")
     (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 "Pretty panic backtraces")
+    (description "Pretty panic backtraces inspired by Python's tracebacks.")
+    (license license:expat)))
+
 (define-public rust-bigdecimal-0.4
   (package
     (name "rust-bigdecimal")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]