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

commit 412675b83352843be7ac81c0e7148a4dbf407f47
Author: Efraim Flashner <efr...@flashner.co.il>
AuthorDate: Fri Feb 14 13:19:05 2025 +0200

    gnu: Add rust-gix-traverse-0.42.
    
    * gnu/packages/crates-vcs.scm (rust-gix-traverse-0.42): New variable.
    (rust-gix-traverse-0.41): Inherit from rust-gix-traverse-0.42.
    
    Change-Id: Ib080372a067fbea75f6fae0e36aba2fffdf1644f
---
 gnu/packages/crates-vcs.scm | 37 ++++++++++++++++++++++++++++++-------
 1 file changed, 30 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm
index 2a3693b6d2..5c667bd46e 100644
--- a/gnu/packages/crates-vcs.scm
+++ b/gnu/packages/crates-vcs.scm
@@ -7444,8 +7444,37 @@ provides an implementation of the Git transport layer.")
         ("rust-blocking" ,rust-blocking-1)
         ("rust-maybe-async" ,rust-maybe-async-0.2))))))
 
+(define-public rust-gix-traverse-0.42
+  (package
+    (name "rust-gix-traverse")
+    (version "0.42.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-traverse" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1pqqx02bab9101iqry4f8nsbwd3azg1a0sjfna9bm9jgrh9in3zj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.25)
+                       ("rust-gix-date" ,rust-gix-date-0.9)
+                       ("rust-gix-hash" ,rust-gix-hash-0.15)
+                       ("rust-gix-hashtable" ,rust-gix-hashtable-0.6)
+                       ("rust-gix-object" ,rust-gix-object-0.45)
+                       ("rust-gix-revwalk" ,rust-gix-revwalk-0.16)
+                       ("rust-smallvec" ,rust-smallvec-1)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/GitoxideLabs/gitoxide";)
+    (synopsis "Ways to traverse Git commit graphs and trees for Gix")
+    (description "Part of Gitoxide, a pure Rust implementation of Git.  This
+package is used to traverse Git commit graphs and trees.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-traverse-0.41
   (package
+    (inherit rust-gix-traverse-0.42)
     (name "rust-gix-traverse")
     (version "0.41.0")
     (source
@@ -7455,7 +7484,6 @@ provides an implementation of the Git transport layer.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "105prigk1pq7g3i3hvwh4y9rhc35ycl84cg9f9ag6kafz6da6383"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bitflags" ,rust-bitflags-2)
@@ -7466,12 +7494,7 @@ provides an implementation of the Git transport layer.")
         ("rust-gix-object" ,rust-gix-object-0.44)
         ("rust-gix-revwalk" ,rust-gix-revwalk-0.15)
         ("rust-smallvec" ,rust-smallvec-1)
-        ("rust-thiserror" ,rust-thiserror-1))))
-    (home-page "https://github.com/Byron/gitoxide";)
-    (synopsis "Ways to traverse Git commit graphs and trees for Gix")
-    (description "Part of Gitoxide, a pure Rust implementation of Git.  This
-package is used to traverse Git commit graphs and trees.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-thiserror" ,rust-thiserror-1))))))
 
 (define-public rust-gix-traverse-0.39
   (package

Reply via email to