diff options
author | ( <paren@disroot.org> | 2022-11-29 07:01:01 +0000 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-11-27 01:00:08 +0100 |
commit | 12109a6308b71de6263a42035817cae24896f8da (patch) | |
tree | 7cd2ce1378c59cebcdb1cf885ed150d026747af7 /gnu/packages/crates-io.scm | |
parent | 968bf41ed32086c403821f69dcb6870d19206174 (diff) | |
download | guix-12109a6308b71de6263a42035817cae24896f8da.tar guix-12109a6308b71de6263a42035817cae24896f8da.tar.gz |
gnu: Add rust-clap-complete-fig-3.
* gnu/packages/crates-io.scm (rust-clap-complete-fig-3): New
variable.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f60e796ed4..cc11765eaf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10658,6 +10658,31 @@ Command Line Argument Parser.") for programs written with Clap.") (license (list license:expat license:asl2.0)))) +(define-public rust-clap-complete-fig-3 + (package + (name "rust-clap-complete-fig") + (version "3.2.4") + (source (origin + (method url-fetch) + (uri (crate-uri "clap-complete-fig" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fb4965w8wyrcwq35ywgx4mzfsv2cqba73mdlvmp6ii1q70b8dzd")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs + `(("rust-clap" ,rust-clap-3) + ("rust-clap-complete" ,rust-clap-complete-3)) + #:cargo-development-inputs + `(("rust-snapbox" ,rust-snapbox-0.2)))) + (home-page "https://github.com/clap-rs/clap/tree/master/clap_complete_fig") + (synopsis "Generate Fig completion scripts for Clap CLIs") + (description + "This package provides a generator library for Rust used +with Clap to generate Fig completion scripts.") + (license (list license:expat license:asl2.0)))) + (define-public rust-clap-lex-0.2 (package (name "rust-clap-lex") |