From 620f2ac8edbaafc69de9f3602613214b731318f0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 26 Jul 2023 11:56:16 +0300 Subject: [PATCH] gnu: Add rust-clap-complete-command-0.5. * gnu/packages/crates-io.scm (rust-clap-complete-command-0.5): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4cc5fc61b3..5aa28c9411 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11976,6 +11976,33 @@ traits.") ("rust-libc" ,rust-libc-0.2) ("rust-libloading" ,rust-libloading-0.3)))))) +(define-public rust-clap-complete-command-0.5 + (package + (name "rust-clap-complete-command") + (version "0.5.1") + (source (origin + (method url-fetch) + (uri (crate-uri "clap-complete-command" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0gcsj6ls8y0jpjp5172gdqwx5zj6gm4wdgrqysglr3d73qvrad0q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-carapace-spec-clap" ,rust-carapace-spec-clap-0.1) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-complete-fig" ,rust-clap-complete-fig-4) + ("rust-clap-complete-nushell" ,rust-clap-complete-nushell-0.1)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4)))) + (home-page "https://github.com/nihaals/clap-complete-command") + (synopsis + "Reduces boilerplate for adding a shell completion command to Clap") + (description "This package reduces boilerplate for adding a shell completion +command to Clap.") + (license license:expat))) + (define-public rust-clap-complete-fig-4 (package (name "rust-clap-complete-fig")