summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-05 18:04:20 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-06 15:46:00 +0300
commitf0074113086c32ebb31f49cf01a2fd4740d01999 (patch)
treec221cefe6aba9a6c72e7bf559c9f1b38f42d2f85 /gnu
parenteda57f4834b29ef17758f7f1f62d3af899e2d669 (diff)
gnu: Add rust-rustc-demangle.
* gnu/packages/crates-io.scm (rust-rustc-demangle): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 909dd5d2f8..183291e737 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2092,6 +2092,32 @@ system calls.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-rustc-demangle
+ (package
+ (name "rust-rustc-demangle")
+ (version "0.1.16")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustc-demangle" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "10qp42sl1wrdbgbbh8rnay2grm976z7hqgz32c4y09l1c071qsac"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-compiler-builtins"
+ ,rust-compiler-builtins)
+ ("rust-rustc-std-workspace-core"
+ ,rust-rustc-std-workspace-core))))
+ (home-page "https://github.com/alexcrichton/rustc-demangle")
+ (synopsis "Rust compiler symbol demangling")
+ (description
+ "This package demanges the symbols from the Rust compiler.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-rustc-serialize
(package
(name "rust-rustc-serialize")