Subject: [bug#67024] [PATCH 43/54] gnu: Add rust-gix-mailmap-0.19.

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

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

Change-Id: Ie374558396398120647338891c898829635bdc1d
---
 gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++++-------
 1 file changed, 29 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 73b74a42894..62863ba69f3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31411,8 +31411,36 @@ (define-public rust-gix-lock-6
        #:cargo-development-inputs
        (("rust-tempfile" ,rust-tempfile-3))))))
 
+(define-public rust-gix-mailmap-0.19
+  (package
+    (name "rust-gix-mailmap")
+    (version "0.19.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-mailmap" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1nx713bx8bi76h14zgg4786afpzryph16pcg43pndq19dslhzw20"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f  ;undeclared crate `gix_testtools`
+       #:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-document-features" ,rust-document-features-0.2)
+                       ("rust-gix-actor" ,rust-gix-actor-0.27)
+                       ("rust-gix-date" ,rust-gix-date-0.8)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis "Functions for parsing mailmap files in Gitoxide")
+    (description
+     "This package contains functions for parsing mailmap files.  It's part of
+Gitoxide, a pure Rust implementation of Git.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-mailmap-0.13
   (package
+    (inherit rust-gix-mailmap-0.19)
     (name "rust-gix-mailmap")
     (version "0.13.0")
     (source
@@ -31422,7 +31450,6 @@ (define-public rust-gix-mailmap-0.13
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0spslf6r4l51z640fxqpw2nq4j7imzz0jhxwy44y086948cp0ls6"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:tests? #f      ; use of undeclared crate or module `gix_testtools`
        #:cargo-inputs
@@ -31430,12 +31457,7 @@ (define-public rust-gix-mailmap-0.13
         ("rust-document-features" ,rust-document-features-0.2)
         ("rust-gix-actor" ,rust-gix-actor-0.21)
         ("rust-serde" ,rust-serde-1)
-        ("rust-thiserror" ,rust-thiserror-1))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis "Crate of the gitoxide project for parsing mailmap files")
-    (description "This package provides a crate of the gitoxide project for
-parsing mailmap files.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-thiserror" ,rust-thiserror-1))))))
 
 (define-public rust-gix-negotiate-0.8
   (package
-- 
2.41.0