summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 19:15:57 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:32 +0200
commit50d2e60ad0ab19f1e061b2d9cbf727a0a545325b (patch)
tree007b1ab7dc482788bcbd587a7cb768943ab56868
parent28547158f34cb8f32ae2f47c1d53289b10663955 (diff)
gnu: Add rust-backtrace-0.3.
* gnu/packages/crates-io.scm (rust-backtrace-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e42c426fce..9921ec7a06 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -258,6 +258,45 @@ support.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-backtrace-0.3
+ (package
+ (name "rust-backtrace")
+ (version "0.3.32")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "backtrace" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rgsaha3b6wxh564s4jqn5hl5pkmg214blyjjs1svafib190zd8q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-addr2line" ,rust-addr2line-0.9)
+ ("rust-backtrace-sys" ,rust-backtrace-sys-0.1)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-cpp-demangle" ,rust-cpp-demangle-0.2)
+ ("rust-findshlibs" ,rust-findshlibs-0.5)
+ ("rust-goblin" ,rust-goblin-0.0)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memmap" ,rust-memmap-0.7)
+ ("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
+ ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0)
+ ("rust-serde" ,rust-serde-1.0)
+ ("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-sys-0.1
(package
(name "rust-backtrace-sys")