gnu: rust-clap-lex: Add 0.3.0.

* gnu/packages/crates-io.scm (rust-clap-lex-0.3): New variable.
(rust-clap-lex-0.2): Inherit from it.
This commit is contained in:
Marius Bakke 2022-12-04 16:53:34 +01:00 committed by Maxim Cournoyer
parent ca657551e8
commit 3ef26c8adc
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -10885,8 +10885,32 @@ (define-public rust-clap-complete-fig-3
with Clap to generate Fig completion scripts.")
(license (list license:expat license:asl2.0))))
(define-public rust-clap-lex-0.3
(package
(name "rust-clap-lex")
(version "0.3.0")
(source (origin
(method url-fetch)
(uri (crate-uri "clap_lex" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1a4dzbnlxiamfsn0pnkhn7n9bdfjh66j9fxm6mmr7d227vvrhh8d"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-os-str-bytes" ,rust-os-str-bytes-6))))
(home-page "https://github.com/clap-rs/clap/tree/master/clap_lex")
(synopsis "Command line parser for Clap")
(description
"This package provides a parser for command line options. As opposed
to a declarative parser, @code{rust-clap-lex} processes arguments as a
stream of tokens.")
;; The user can choose either license.
(license (list license:expat license:asl2.0))))
(define-public rust-clap-lex-0.2
(package
(inherit rust-clap-lex-0.3)
(name "rust-clap-lex")
(version "0.2.4")
(source (origin
@ -10898,14 +10922,7 @@ (define-public rust-clap-lex-0.2
"1ib1a9v55ybnaws11l63az0jgz5xiy24jkdgsmyl7grcm3sz4l18"))))
(build-system cargo-build-system)
(arguments
(list #:cargo-inputs
`(("rust-os-str-bytes" ,rust-os-str-bytes-6))))
(home-page "https://github.com/clap-rs/clap/tree/master/clap_lex")
(synopsis "Command line parser for Clap")
(description
"This package provides a parser for command line options. As opposed to a
declarative parser, @code{rust-clap-lex} processes arguments as a stream of tokens.")
(license (list license:expat license:asl2.0))))
(list #:cargo-inputs `(("rust-os-str-bytes" ,rust-os-str-bytes-6))))))
(define-public rust-clearscreen-1
(package