diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-09-17 16:35:48 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-09-17 19:40:08 +0300 |
commit | ef05c6df02becb2e5849f23fa0d456b07122fa5e (patch) | |
tree | b321e1cfd07f6e7946aed1dd2b29bb191a12cd7b /gnu/packages | |
parent | fc4d385aba691ea2ec811116b1c6a04d8c2c1090 (diff) | |
download | guix-ef05c6df02becb2e5849f23fa0d456b07122fa5e.tar guix-ef05c6df02becb2e5849f23fa0d456b07122fa5e.tar.gz |
gnu: Add rust-backtrace-sys.
* gnu/packages/crates-io.scm (rust-backtrace-sys): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 61681b121e..e5ce4f1b43 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -159,6 +159,35 @@ support.") (license (list license:asl2.0 license:expat)))) +(define-public rust-backtrace-sys + (package + (name "rust-backtrace-sys") + (version "0.1.31") + (source + (origin + (method url-fetch) + (uri (crate-uri "backtrace-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0as2pk77br4br04daywhivpi1ixxb8y2c7f726kj849dxys31a42")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-compiler-builtins" + ,rust-compiler-builtins) + ("rust-libc" ,rust-libc) + ("rust-rustc-std-workspace-core" + ,rust-rustc-std-workspace-core)) + #:cargo-development-inputs + (("rust-cc" ,rust-cc)))) + (home-page "https://github.com/rust-lang/backtrace-rs") + (synopsis "Bindings to the libbacktrace gcc library") + (description + "This package provides bindings to the libbacktrace gcc library.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-base-x (package (name "rust-base-x") |