Subject: [PATCH 22/54] gnu: Add rust-gix-ignore-0.8.

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

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

Change-Id: Ife70e383026bb3cc2d87c8cfff4cafa88d7acc1f
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 117ddd12402..daabf287184 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31182,8 +31182,34 @@ (define-public rust-gix-hashtable-0.2
         ("rust-hashbrown" ,rust-hashbrown-0.14)
         ("rust-parking-lot" ,rust-parking-lot-0.12))))))
 
+(define-public rust-gix-ignore-0.8
+  (package
+    (name "rust-gix-ignore")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-ignore" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1qzmpylhwqqnnb7hcbwfbvblbzg3hzid4d2w42j2vc7nl51z8j5h"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-document-features" ,rust-document-features-0.2)
+                       ("rust-gix-glob" ,rust-gix-glob-0.13)
+                       ("rust-gix-path" ,rust-gix-path-0.10)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-unicode-bom" ,rust-unicode-bom-2))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis "This Gitoxide crate handles .gitignore files")
+    (description
+     "This crate is part of Gitoxide, it handles .gitignore files.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-ignore-0.3
   (package
+    (inherit rust-gix-ignore-0.8)
     (name "rust-gix-ignore")
     (version "0.3.0")
     (source
@@ -31193,7 +31219,6 @@ (define-public rust-gix-ignore-0.3
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "09anfy62zfsclkkvvrsp0bi99pny66hqn07pvc4fik0c3887yvzw"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bstr" ,rust-bstr-1)
@@ -31201,12 +31226,7 @@ (define-public rust-gix-ignore-0.3
         ("rust-gix-glob" ,rust-gix-glob-0.8)
         ("rust-gix-path" ,rust-gix-path-0.8)
         ("rust-serde" ,rust-serde-1)
-        ("rust-unicode-bom" ,rust-unicode-bom-2))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis "Crate of the gitoxide project dealing .gitignore files")
-    (description "This package provides a crate of the gitoxide project dealing
-.gitignore files.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-unicode-bom" ,rust-unicode-bom-2))))))
 
 (define-public rust-gix-index-0.25
   (package
-- 
2.41.0