Subject: [bug #56057] [PATCH v2 21/21] gnu: rust-backtrace-0.3: Update to 0.3.65.

From: antlers <[email-masked]>
Date: Sun, 19 Jun 2022 10:27:11 -0700

* gnu/packages/crates-io.scm (rust-backtrace-0.3): Update to 0.3.65.
(rust-backtrace-0.3.56): New variable.
---
:100644 100644 f1529748b7 121b208164 M	gnu/packages/crates-io.scm
 gnu/packages/crates-io.scm | 43 +++++++++++++++++++++++++++++++-------
 1 file changed, 35 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f1529748b7..121b208164 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5593,6 +5593,40 @@ (define-public rust-az-1
 
 (define-public rust-backtrace-0.3
   (package
+    (name "rust-backtrace")
+    (version "0.3.65")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "backtrace" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0qggp0d8pbw5vfnpm0r7lrn6wmh5yjiz4yc4bzynb8l26i2pv88i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-addr2line" ,rust-addr2line-0.17)
+        ("rust-cc" ,rust-cc-1)
+        ("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-cpp-demangle" ,rust-cpp-demangle-0.3)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-miniz-oxide" ,rust-miniz-oxide-0.5)
+        ("rust-object" ,rust-object-0.28)
+        ("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
+        ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/rust-lang/backtrace-rs")
+    (synopsis "Acquire a stack trace (backtrace) at runtime in a Rust program")
+    (description
+     "This package provides a library to acquire a stack
+trace (backtrace) at runtime in a Rust program.")
+    (license (list license:asl2.0 license:expat))))
+
+(define-public rust-backtrace-0.3.56
+  (package
+    (inherit rust-backtrace-0.3)
     (name "rust-backtrace")
     (version "0.3.56")
     (source
@@ -5604,7 +5638,6 @@ (define-public rust-backtrace-0.3
        (sha256
         (base32
          "1g716jmrik0fx29va3js4gw8hwk5jlsmvqaa9ryp1c9qyh07c4cx"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -5618,13 +5651,7 @@ (define-public rust-backtrace-0.3
         ("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
         ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
         ("rust-serde" ,rust-serde-1)
-        ("rust-winapi" ,rust-winapi-0.3))))
-    (home-page "https://github.com/rust-lang/backtrace-rs")
-    (synopsis "Acquire a stack trace (backtrace) at runtime in a Rust program")
-    (description
-     "This package provides a library to acquire a stack
-trace (backtrace) at runtime in a Rust program.")
-    (license (list license:asl2.0 license:expat))))
+        ("rust-winapi" ,rust-winapi-0.3))))))
 
 (define-public rust-backtrace-0.3.35
   (package
-- 
2.36.0