From 6183c78fc62b210a69e59d6157e26849075754f5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Oct 2023 08:28:46 +0300 Subject: [PATCH] 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 566822aa62..4cbed856a2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -83885,8 +83885,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 @@ -83896,7 +83923,6 @@ windows crate.") (sha256 (base32 "0a2b9f0n6fpn2a88jfbp1kdjj6xrhvf8arnny67qsjb6djrp12df")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Cut the dependency graph. #:cargo-inputs @@ -83904,12 +83930,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