Subject: [PATCH 012/147] gnu: Add rust-winnow-0.6.

From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Tue, 2 Apr 2024 18:03:24 +0200

* gnu/packages/crates-io.scm (rust-winnow-0.6): New variable.
(rust-winnow-0.5): Inherit from rust-winnow-0.6.

Change-Id: I0b7bca6a5f14762cc5645b07001dccb93a84124b
---
 gnu/packages/crates-io.scm | 27 ++++++++++++++++++++++++---
 1 file changed, 24 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 843ab8765b..87a4072bed 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78283,17 +78283,17 @@ (define-public rust-wild-2
 command-line, uniformly on all platforms")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-winnow-0.5
+(define-public rust-winnow-0.6
   (package
     (name "rust-winnow")
-    (version "0.5.31")
+    (version "0.6.5")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "winnow" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0734xa05a1x1wg2kcphdhfb39pdcy5qpaf1sjll6qk8kdcp8i94p"))))
+        (base32 "1f0m48kfdvds456b1i1qd6ia9w3mckk2jf4q6z94snpdcw741ynz"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t     ; Cut the dependency graph.
@@ -78309,6 +78309,27 @@ (define-public rust-winnow-0.5
 combinators library.")
     (license license:expat)))
 
+(define-public rust-winnow-0.5
+  (package
+    (inherit rust-winnow-0.6)
+    (name "rust-winnow")
+    (version "0.5.31")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "winnow" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0734xa05a1x1wg2kcphdhfb39pdcy5qpaf1sjll6qk8kdcp8i94p"))))
+    (arguments
+     `(#:skip-build? #t     ; Cut the dependency graph.
+       #:cargo-inputs
+       (("rust-anstream" ,rust-anstream-0.3)
+        ("rust-anstyle" ,rust-anstyle-1)
+        ("rust-is-terminal" ,rust-is-terminal-0.4)
+        ("rust-memchr" ,rust-memchr-2)
+        ("rust-terminal-size" ,rust-terminal-size-0.2))))))
+
 (define-public rust-winnow-0.4
   (package
     (inherit rust-winnow-0.5)
-- 
2.41.0