summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-24 16:08:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:38 +0300
commit17a47fdf361aee52af33461f5aee7e886ab86553 (patch)
treebdf4f379d5bd684ad110b73633fe9a1aa98c6f99 /gnu/packages/crates-io.scm
parentdfa9d4e8303a2934fd4f5a3af4b384019aecc6b2 (diff)
downloadguix-17a47fdf361aee52af33461f5aee7e886ab86553.tar.gz
gnu: Add rust-winnow-0.4.
* gnu/packages/crates-io.scm (rust-winnow-0.4): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 877d005dec..c7bec3f373 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72490,6 +72490,32 @@ windows crate.")
                (base32
                 "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz"))))))
 
+(define-public rust-winnow-0.4
+  (package
+    (name "rust-winnow")
+    (version "0.4.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "winnow" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0a2b9f0n6fpn2a88jfbp1kdjj6xrhvf8arnny67qsjb6djrp12df"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t     ; Cut the dependency graph.
+       #:cargo-inputs
+       (("rust-anstyle" ,rust-anstyle-0.2)
+        ("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)))
+
 (define-public rust-winreg-0.10
   (package
     (name "rust-winreg")