summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-10 16:18:16 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-10 23:49:48 +0100
commitfbc807f3b68d2a9c1e113b520d8364881b255596 (patch)
tree266c43912d46c6408a1be47e2b6c923beb230eab /gnu
parent406fe167e1f60a779a04ae97682169aca9d435c2 (diff)
downloadguix-fbc807f3b68d2a9c1e113b520d8364881b255596.tar.gz
gnu: Add rust-addr2line-0.14.
* gnu/packages/crates-io.scm (rust-addr2line-0.14): New variable.
(rust-addr2line-0.11): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm41
1 files changed, 33 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ee1e58897c..1736aafa94 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -969,8 +969,40 @@ threads.  This makes it robust in face of panics (it won't make your program
 deadlock, like the standard Barrier).")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-addr2line-0.14
+  (package
+    (name "rust-addr2line")
+    (version "0.14.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "addr2line" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1xs5bsi40zpyxbbylyaysya5h36ykcbg91i82415sxw5wk7q4px5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+        ("rust-cpp-demangle" ,rust-cpp-demangle-0.3)
+        ("rust-fallible-iterator" ,rust-fallible-iterator-0.2)
+        ("rust-gimli" ,rust-gimli-0.23)
+        ("rust-object" ,rust-object-0.22)
+        ("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
+        ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+        ("rust-smallvec" ,rust-smallvec-1))))
+    (home-page "https://github.com/gimli-rs/addr2line")
+    (synopsis "Symbolication library written in Rust, using gimli")
+    (description
+     "This package provides a cross-platform symbolication library written in
+Rust, using gimli.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-addr2line-0.11
   (package
+    (inherit rust-addr2line-0.14)
     (name "rust-addr2line")
     (version "0.11.0")
     (source
@@ -982,7 +1014,6 @@ deadlock, like the standard Barrier).")
         (sha256
          (base32
           "0sk5g8cb2yynlcm0wcqff9l9c9ml69rqgfrrbii0ybgdc236jkhw"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:tests? #f      ; Not all test files included.
        #:cargo-inputs
@@ -998,13 +1029,7 @@ deadlock, like the standard Barrier).")
         ("rust-clap" ,rust-clap-2)
         ("rust-findshlibs" ,rust-findshlibs-0.5)
         ("rust-memmap" ,rust-memmap-0.7)
-        ("rust-rustc-test" ,rust-rustc-test-0.3))))
-    (home-page "https://github.com/gimli-rs/addr2line")
-    (synopsis "Symbolication library written in Rust, using gimli")
-    (description
-     "This package provides a cross-platform symbolication library written in
-Rust, using gimli.")
-    (license (list license:asl2.0 license:expat))))
+        ("rust-rustc-test" ,rust-rustc-test-0.3))))))
 
 (define-public rust-addr2line-0.9
   (package