mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add rust-structopt-0.2.
* gnu/packages/crates-io.scm (rust-structopt-0.2): New variable.
This commit is contained in:
parent
243603c888
commit
d8886fcc48
1 changed files with 24 additions and 0 deletions
|
@ -11754,6 +11754,30 @@ (define-public rust-strsim-0.8
|
|||
(base32
|
||||
"0sjsm7hrvjdifz661pjxq5w4hf190hx53fra8dfvamacvff139cf"))))))
|
||||
|
||||
(define-public rust-structopt-0.2
|
||||
(package
|
||||
(name "rust-structopt")
|
||||
(version "0.2.18")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "structopt" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1mvfv1l8vp3y402fkl2wcl34hi7gmr4bqha13dfz2xf3kjzwvhhn"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f
|
||||
#:cargo-inputs
|
||||
(("rust-clap" ,rust-clap-2)
|
||||
("rust-structopt-derive" ,rust-structopt-derive-0.2))))
|
||||
(home-page "https://github.com/TeXitoi/structopt")
|
||||
(synopsis "Parse command line arguments by defining a struct")
|
||||
(description
|
||||
"Parse command line arguments by defining a struct.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
|
||||
(define-public rust-structopt-derive-0.2
|
||||
(package
|
||||
(name "rust-structopt-derive")
|
||||
|
|
Loading…
Reference in a new issue