aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-07-26 11:56:16 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:38:15 +0300
commit620f2ac8edbaafc69de9f3602613214b731318f0 (patch)
tree06fb01c4591cd923db09938ae04ea315d686b1c6 /gnu
parent2c896154f762b52e300c864c70fdce1bd2cc5895 (diff)
downloadguix-620f2ac8edbaafc69de9f3602613214b731318f0.tar
guix-620f2ac8edbaafc69de9f3602613214b731318f0.tar.gz
gnu: Add rust-clap-complete-command-0.5.
* gnu/packages/crates-io.scm (rust-clap-complete-command-0.5): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
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")