diff mbox series

[bug#56057,gnu:,Add,dua-cli.,26/27] gnu: rust-backtrace-0.3: Update to 0.3.65.

Message ID 20220618195656.10108-27-antlers@luris.net
State New
Headers show
Series gnu: Add dua-cli. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

antlers June 18, 2022, 7:56 p.m. UTC
* gnu/packages/crates-io.scm (rust-backtrace-0.3): Update to 0.3.65.
(rust-backtrace-0.3.56): New variable.
---
:100644 100644 cb3b85ee68 b164034abd M	gnu/packages/crates-io.scm
 gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++--------
 1 file changed, 36 insertions(+), 9 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cb3b85ee68..b164034abd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5617,6 +5617,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
@@ -5628,7 +5662,6 @@  (define-public rust-backtrace-0.3
        (sha256
         (base32
          "1g716jmrik0fx29va3js4gw8hwk5jlsmvqaa9ryp1c9qyh07c4cx"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -5642,13 +5675,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
@@ -72883,7 +72910,7 @@  (define-public rust-windows-sys-0.36
         ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.36)
         ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.36))))
     (home-page "https://github.com/microsoft/windows-rs")
-    (synopsis "Rust for Windows")
+    (synopsis "Code gen support for the windows crate")
     (description "The windows crate lets you call any Windows API past,
 present, and future using code generated on the fly directly from the metadata
 describing the API and right into your Rust package where you can call them as