mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
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:
parent
ca657551e8
commit
3ef26c8adc
1 changed files with 25 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue