Subject: [PATCH v2 rust-team 20/23] gnu: Add rust-gix-dir-0.5.

From: Murilo <[email-masked]>
Date: Fri, 29 Nov 2024 11:36:43 -0300

* gnu/packages/crates-vcs.scm (rust-gix-dir-0.5): New variable.

Change-Id: I0377bb7bd66f22ca83871950f11e20f877a84bca
---
 gnu/packages/crates-vcs.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm
index 2b116c2a78..c4d1253e3c 100644
--- a/gnu/packages/crates-vcs.scm
+++ b/gnu/packages/crates-vcs.scm
@@ -2493,6 +2493,35 @@ (define-public rust-gix-dir-0.6
        #:cargo-development-inputs
        (("rust-pretty-assertions" ,rust-pretty-assertions-1))))))
 
+(define-public rust-gix-dir-0.5
+  (package
+    (inherit rust-gix-dir-0.8)
+    (name "rust-gix-dir")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-dir" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0x29x6qdj4nwma01qgqadi0dwix3rnv0mlj1wnmn7gasaj69zjb0"))))
+    (arguments
+     `(#:tests? #f ;looking for undeclared gix-testtools
+       #:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-gix-discover" ,rust-gix-discover-0.32)
+                       ("rust-gix-fs" ,rust-gix-fs-0.11)
+                       ("rust-gix-ignore" ,rust-gix-ignore-0.11)
+                       ("rust-gix-index" ,rust-gix-index-0.33)
+                       ("rust-gix-object" ,rust-gix-object-0.42)
+                       ("rust-gix-path" ,rust-gix-path-0.10)
+                       ("rust-gix-pathspec" ,rust-gix-pathspec-0.7)
+                       ("rust-gix-trace" ,rust-gix-trace-0.1)
+                       ("rust-gix-utils" ,rust-gix-utils-0.1)
+                       ("rust-gix-worktree" ,rust-gix-worktree-0.34)
+                       ("rust-thiserror" ,rust-thiserror-1))
+       #:cargo-development-inputs
+       (("rust-pretty-assertions" ,rust-pretty-assertions-1))))))
+
 (define-public rust-gix-discover-0.35
   (package
     (name "rust-gix-discover")
-- 
2.46.0