Subject: [bug#67024] [PATCH 10/54] gnu: Add rust-gix-validate-0.8.

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

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

Change-Id: Icad58361e3aa0da0bb7b190d7117316dfecfd5d4
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0b2b154e7d3..0820037a4ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31841,8 +31841,30 @@ (define-public rust-gix-utils-0.1
 feature toggles.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gix-validate-0.8
+  (package
+    (name "rust-gix-validate")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-validate" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1idq44xvqjf2pxw9kxxjvi5cwklzc4wallp0arhqcnx40cmsnp70"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis "Rust validation functions for various kinds of names in Git")
+    (description "Part of Gitoxide, a pure Rust implementation of Git.  This
+package contains validation functions for various kinds of names in Git.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-validate-0.7
   (package
+    (inherit rust-gix-validate-0.8)
     (name "rust-gix-validate")
     (version "0.7.7")
     (source
@@ -31852,15 +31874,10 @@ (define-public rust-gix-validate-0.7
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0h4hr3rpgwc7ixyynjp53s9il3sb0gq8ad332k8drwyfn8vkg6xs"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bstr" ,rust-bstr-1)
-        ("rust-thiserror" ,rust-thiserror-1))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis "Validation functions for various kinds of names in git")
-    (description "Validation functions for various kinds of names in git.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-thiserror" ,rust-thiserror-1))))))
 
 (define-public rust-gix-worktree-0.18
   (package
-- 
2.41.0