Subject: [PATCH 07/54] gnu: Add rust-gix-attributes-0.19.

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

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

Change-Id: I900ffc00e3d54de90db5843409f129bb39160b88
---
 gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++--------
 1 file changed, 33 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7d53ef9d189..9d128cabd8e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30485,8 +30485,40 @@ (define-public rust-gix-actor-0.21
     (description "This package provides a way to identify git actors.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gix-attributes-0.19
+  (package
+    (name "rust-gix-attributes")
+    (version "0.19.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-attributes" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "086qgrh8srr5vyswbchn72kw967f25szjgk27dss96vhf1g6cl94"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-byteyarn" ,rust-byteyarn-0.2)
+                       ("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-gix-quote" ,rust-gix-quote-0.4)
+                       ("rust-gix-trace" ,rust-gix-trace-0.1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-smallvec" ,rust-smallvec-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-unicode-bom" ,rust-unicode-bom-2))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis "Part of Gitoxide, this crates deals with .gitattributes")
+    (description
+     "This package provides a crate from the Gitoxide project dealing with
+.gitattributes files.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-attributes-0.13
   (package
+    (inherit rust-gix-attributes-0.19)
     (name "rust-gix-attributes")
     (version "0.13.1")
     (source
@@ -30496,7 +30528,6 @@ (define-public rust-gix-attributes-0.13
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0cfciacamnqbxl02l5fb7pcfbzn6r9gnyh86gvc80brqmj89bdvq"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bstr" ,rust-bstr-1)
@@ -30509,13 +30540,7 @@ (define-public rust-gix-attributes-0.13
         ("rust-serde" ,rust-serde-1)
         ("rust-smallvec" ,rust-smallvec-1)
         ("rust-thiserror" ,rust-thiserror-1)
-        ("rust-unicode-bom" ,rust-unicode-bom-2))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis "Crate of the gitoxide project dealing .gitattributes files")
-    (description
-     "This package provides a crate of the gitoxide project dealing .gitattributes
-files.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-unicode-bom" ,rust-unicode-bom-2))))))
 
 (define-public rust-gix-bitmap-0.2
   (package
-- 
2.41.0