From 17a47fdf361aee52af33461f5aee7e886ab86553 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 24 Apr 2023 16:08:36 +0300 Subject: [PATCH] gnu: Add rust-winnow-0.4. * gnu/packages/crates-io.scm (rust-winnow-0.4): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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")