guix-commits
[Top][All Lists]
Advanced

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

19/311: gnu: Add rust-winnow-0.5.


From: guix-commits
Subject: 19/311: gnu: Add rust-winnow-0.5.
Date: Sat, 28 Oct 2023 16:37:24 -0400 (EDT)

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

commit d051fd5e5bcb313cb24c4673b8a4017d46830d54
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 08:28:46 2023 +0300

    gnu: Add rust-winnow-0.5.
    
    * gnu/packages/crates-io.scm (rust-winnow-0.5): New variable.
    (rust-winnow-0.4): Inherit from rust-winnow-0.5.
    
    Change-Id: Ia7e2dc5c52f57d3cd7b3eb4657d79a2da410163c
---
 gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++++++++-------
 1 file changed, 28 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5da357b0ba..394ad7d7db 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83870,8 +83870,35 @@ windows crate.")
                (base32
                 "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz"))))))
 
+(define-public rust-winnow-0.5
+  (package
+    (name "rust-winnow")
+    (version "0.5.17")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "winnow" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0p7n0rp982pjpscq6dnvbalz6lm45lb60zr0rivn8wm6w3803f53"))))
+    (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.4
   (package
+    (inherit rust-winnow-0.5)
     (name "rust-winnow")
     (version "0.4.1")
     (source (origin
@@ -83881,7 +83908,6 @@ windows crate.")
               (sha256
                (base32
                 "0a2b9f0n6fpn2a88jfbp1kdjj6xrhvf8arnny67qsjb6djrp12df"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t     ; Cut the dependency graph.
        #:cargo-inputs
@@ -83889,12 +83915,7 @@ windows crate.")
         ("rust-concolor" ,rust-concolor-0.0.8)
         ("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-winreg-0.10
   (package



reply via email to

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