Subject: [PATCH 19/54] gnu: Add rust-gix-revwalk-0.8.

From: Steve George <[email-masked]>
Date: Thu, 9 Nov 2023 19:38:16 +0000

* gnu/packages/crates-io.scm (rust-gix-revwalk-0.8): New variable.

Change-Id: I80145c469a760f3fd1af11b5f1502a41bfe91b69
---
 gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++++-------
 1 file changed, 30 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 10dd1482c5f..6719eb28c18 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31780,8 +31780,37 @@ (define-public rust-gix-revision-0.15
 names for revisions and parsing specifications.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gix-revwalk-0.8
+  (package
+    (name "rust-gix-revwalk")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-revwalk" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0yd27ip3xhxplsw6cmyjz1vk6q5c0qhkn33icx2hiwij21mhr1z9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #f
+       #:cargo-inputs (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.21)
+                       ("rust-gix-date" ,rust-gix-date-0.8)
+                       ("rust-gix-hash" ,rust-gix-hash-0.13)
+                       ("rust-gix-hashtable" ,rust-gix-hashtable-0.4)
+                       ("rust-gix-object" ,rust-gix-object-0.37)
+                       ("rust-smallvec" ,rust-smallvec-1)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis "Utilities for walking the Git's revision graph")
+    (description
+     "Utilities for walking Git's revision graph.  This crate is part of
+Gitoxide, a pure Rust implementation of Git.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-revwalk-0.1
   (package
+    (inherit rust-gix-revwalk-0.8)
     (name "rust-gix-revwalk")
     (version "0.1.0")
     (source
@@ -31791,7 +31820,6 @@ (define-public rust-gix-revwalk-0.1
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1jnkyb5yk8y76q5gbmdykm2snxn5v9dbc4jy3walz4a7hyx269mw"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.16)
@@ -31799,12 +31827,7 @@ (define-public rust-gix-revwalk-0.1
         ("rust-gix-hashtable" ,rust-gix-hashtable-0.2)
         ("rust-gix-object" ,rust-gix-object-0.30)
         ("rust-smallvec" ,rust-smallvec-1)
-        ("rust-thiserror" ,rust-thiserror-1))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis "Crate providing utilities for walking the revision graph")
-    (description "This package provides a crate providing utilities for walking
-the revision graph.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-thiserror" ,rust-thiserror-1))))))
 
 (define-public rust-gix-sec-0.8
   (package
-- 
2.41.0