Subject: [PATCH 08/54] gnu: Add rust-gix-date-0.8.

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

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

Change-Id: I803ea0b97b0b278d6b74fe8b65a5e6404b900364
---
 gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++--------
 1 file changed, 28 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9d128cabd8e..fdd9ce3fddc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30733,8 +30733,35 @@ (define-public rust-gix-credentials-0.15
 credentials helpers.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gix-date-0.8
+  (package
+    (name "rust-gix-date")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-date" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "038yapmv9mm7d2xclhg18iakpc4hd3vl4xkk09ydr0lmcdlzczgw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #f
+       #:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-document-features" ,rust-document-features-0.2)
+                       ("rust-itoa" ,rust-itoa-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-time" ,rust-time-0.3))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis "Part of Gitoxide, this crate parses dates the way Git does")
+    (description
+     "Part of Gitoxide, this crate parses dates the way git does.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-date-0.5
   (package
+    (inherit rust-gix-date-0.8)
     (name "rust-gix-date")
     (version "0.5.1")
     (source
@@ -30744,7 +30771,6 @@ (define-public rust-gix-date-0.5
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "00jrc86398553z2mdljx9vh8skqgdydhsrr11ak3148fcx2l25mw"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bstr" ,rust-bstr-1)
@@ -30754,13 +30780,7 @@ (define-public rust-gix-date-0.5
         ("rust-thiserror" ,rust-thiserror-1)
         ("rust-time" ,rust-time-0.3))
        #:cargo-development-inputs
-       (("rust-once-cell" ,rust-once-cell-1))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis "Parse dates the way git does")
-    (description
-     "This package provides a crate of the gitoxide project parsing dates the
-way git does.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-once-cell" ,rust-once-cell-1))))))
 
 (define-public rust-gix-diff-0.30
   (package
-- 
2.41.0