diff options
author | Zheng Junjie <873216071@qq.com> | 2021-04-28 00:12:26 +0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-05-26 15:13:41 +0200 |
commit | c0371bd0b211903e33e86e7bc81c74592f18345b (patch) | |
tree | 0553985657c4d242e64dc7ed68ecc5719c33ee8b /gnu/packages | |
parent | d45b6d9d58dd2d83d66dd3d5d213f687a0a82a5f (diff) | |
download | guix-c0371bd0b211903e33e86e7bc81c74592f18345b.tar.gz |
gnu: Add rust-clap-derive-3.
* gnu/packages/crates-io.scm (rust-clap-derive-3): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3bda586f42..ba60eecd55 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7088,6 +7088,37 @@ traits.") ("rust-libc" ,rust-libc-0.2) ("rust-libloading" ,rust-libloading-0.3)))))) +(define-public rust-clap-derive-3 + (package + (name "rust-clap-derive") + (version "3.0.0-beta.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap_derive" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18cn82jhcha7m0nkpi1a03jx8k7aaq5kxfcxnsqpaa8ih5dp23rp")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-heck" ,rust-heck-0.3) + ("rust-proc-macro-error" + ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://clap.rs/") + (synopsis + "Parse command line argument by defining a struct, derive crate") + (description + "This package provides a parse command line argument by defining a struct, +derive crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-clap-2 (package (name "rust-clap") |