guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

219/330: gnu: Add rust-winnow-0.6.


From: guix-commits
Subject: 219/330: gnu: Add rust-winnow-0.6.
Date: Mon, 18 Mar 2024 07:16:18 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit b6f089587b65db42bf4a834c531296d4b5212bef
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:39:58 2024 +0100

    gnu: Add rust-winnow-0.6.
    
    * gnu/packages/crates-io.scm (rust-winnow-0.6): New variable.
    (rust-winnow-0.5): Inherit from rust-winnow-0.6.
    
    Change-Id: I7eb055597f8bccb3020cb814ed1c7c57b380aa19
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 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 4fb1fa5f5e..640db1f25d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -82598,8 +82598,34 @@ UTF-32 types are provided, including support for 
malformed encoding.")
 command-line, uniformly on all platforms")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-winnow-0.6
+  (package
+    (name "rust-winnow")
+    (version "0.6.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "winnow" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0y71bhxjhjf62c1631rpvmjyz3fmhg5i6jfb3z3kxk0mgz292hbs"))))
+    (build-system cargo-build-system)
+    (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))))
+    (home-page "https://github.com/winnow-rs/winnow";)
+    (synopsis "Byte-oriented, zero-copy, parser combinators library")
+    (description "This package provides a byte-oriented, zero-copy, parser
+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
@@ -82609,7 +82635,6 @@ command-line, uniformly on all platforms")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0734xa05a1x1wg2kcphdhfb39pdcy5qpaf1sjll6qk8kdcp8i94p"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t     ; Cut the dependency graph.
        #:cargo-inputs
@@ -82617,12 +82642,7 @@ command-line, uniformly on all platforms")
         ("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))))
-    (home-page "https://github.com/winnow-rs/winnow";)
-    (synopsis "Byte-oriented, zero-copy, parser combinators library")
-    (description "This package provides a byte-oriented, zero-copy, parser
-combinators library.")
-    (license license:expat)))
+        ("rust-terminal-size" ,rust-terminal-size-0.2))))))
 
 (define-public rust-winnow-0.4
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]