guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/330: gnu: Add rust-addr2line-0.21.


From: guix-commits
Subject: 13/330: gnu: Add rust-addr2line-0.21.
Date: Mon, 18 Mar 2024 07:14:52 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 35f41afe02221b9e9663796883df347b629128b3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 10:55:05 2024 +0200

    gnu: Add rust-addr2line-0.21.
    
    * gnu/packages/crates-io.scm (rust-addr2line-0.21): New variable.
    (rust-addr2line-0.19): Inherit from rust-addr2line-0.21.
    
    Change-Id: I26e873090a475b4fb5d7548dc7fa7f058da0feca
---
 gnu/packages/crates-io.scm | 47 ++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 39 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4b3f1b2bd7..37a769ca65 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -448,8 +448,46 @@ syntax (e.g.  EasyList, EasyPrivacy) filter parsing and 
matching.")
         ("rust-sha2" ,rust-sha2-0.9)
         ("rust-tokio" ,rust-tokio-1))))))
 
+(define-public rust-addr2line-0.21
+  (package
+    (name "rust-addr2line")
+    (version "0.21.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "addr2line" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1jx0k3iwyqr8klqbzk6kjvr496yd94aspis10vwsj5wy7gib4c4a"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; use of undeclared crate or module `auxiliary`
+       #:cargo-inputs
+       (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+        ("rust-cpp-demangle" ,rust-cpp-demangle-0.4)
+        ("rust-fallible-iterator" ,rust-fallible-iterator-0.3)
+        ("rust-gimli" ,rust-gimli-0.28)
+        ("rust-memmap2" ,rust-memmap2-0.5)
+        ("rust-object" ,rust-object-0.32)
+        ("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))
+       #:cargo-development-inputs (("rust-backtrace" ,rust-backtrace-0.3)
+                                   ("rust-clap" ,rust-clap-4)
+                                   ("rust-findshlibs" ,rust-findshlibs-0.10)
+                                   ("rust-libtest-mimic" 
,rust-libtest-mimic-0.6)
+                                   ("rust-typed-arena" ,rust-typed-arena-2))))
+    (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.19
   (package
+    (inherit rust-addr2line-0.21)
     (name "rust-addr2line")
     (version "0.19.0")
     (source (origin
@@ -459,7 +497,6 @@ syntax (e.g.  EasyList, EasyPrivacy) filter parsing and 
matching.")
               (sha256
                (base32
                 "15ywmr5wx22q69ffnn79qp65ir5p1x0k2q06plcpv6v74c5xcvx7"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:tests? #f      ; use of undeclared crate or module `auxiliary`
        #:cargo-inputs
@@ -478,13 +515,7 @@ syntax (e.g.  EasyList, EasyPrivacy) filter parsing and 
matching.")
         ("rust-findshlibs" ,rust-findshlibs-0.10)
         ("rust-memmap2" ,rust-memmap2-0.5)
         ("rust-rustc-test" ,rust-rustc-test-0.3)
-        ("rust-typed-arena" ,rust-typed-arena-2))))
-    (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-typed-arena" ,rust-typed-arena-2))))))
 
 (define-public rust-addchain-0.2
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]