Subject: [bug#67024] [PATCH 05/54] gnu: Add rust-gix-path-0.10.

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

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

Change-Id: I4ec6102d0f6cf93a93f9998164f8057f622ecd4b
---
 gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++---------
 1 file changed, 29 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 38019e11d62..006a4b25225 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31281,8 +31281,36 @@ (define-public rust-gix-packetline-0.16
 pkt-line serialization format.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gix-path-0.10
+  (package
+    (name "rust-gix-path")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-path" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0fx71d9p7iq4szgrijyw1nj82abg15ylyvaw7kh3l7hp2l0kf7ba"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-gix-trace" ,rust-gix-trace-0.1)
+                       ("rust-home" ,rust-home-0.5)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-thiserror" ,rust-thiserror-1))
+       #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis
+     "Part of the Gitoxide project, this crate deals with paths and their conversions")
+    (description
+     "Part of the Gitoxide project, a lean and safe Rust implementation of
+Git.  This crate deals with paths and their conversions")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-path-0.8
   (package
+    (inherit rust-gix-path-0.10)
     (name "rust-gix-path")
     (version "0.8.4")
     (source
@@ -31292,7 +31320,6 @@ (define-public rust-gix-path-0.8
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0z5733b3z2wbnz1x0y2aq3gpanrhrlrqr4v4gjlqwl68ps69qq0q"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bstr" ,rust-bstr-1)
@@ -31301,14 +31328,7 @@ (define-public rust-gix-path-0.8
         ("rust-once-cell" ,rust-once-cell-1)
         ("rust-thiserror" ,rust-thiserror-1))
        #:cargo-development-inputs
-       (("rust-tempfile" ,rust-tempfile-3))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis
-     "Crate of the gitoxide project dealing paths and their conversions")
-    (description
-     "This package provides a crate of the gitoxide project dealing paths and their
-conversions.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-tempfile" ,rust-tempfile-3))))))
 
 (define-public rust-gix-prompt-0.5
   (package
-- 
2.41.0