diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-30 15:56:07 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:21:27 +0200 |
commit | 73d4fc5ad9d35c8cbe4d9aac7f22b9601ce44409 (patch) | |
tree | 1957ddb81bd403524d422301b26071b24a9da9a7 | |
parent | 0951e06679b18ade2cce84c8aefdc54cb780ee39 (diff) | |
download | guix-73d4fc5ad9d35c8cbe4d9aac7f22b9601ce44409.tar.gz guix-73d4fc5ad9d35c8cbe4d9aac7f22b9601ce44409.zip |
gnu: Add rust-clap-complete-command-0.6.
* gnu/packages/crates-io.scm (rust-clap-complete-command-0.6): New
variable.
(rust-clap-complete-command-0.5): Inherit from
rust-clap-complete-command-0.6.
Change-Id: I3a2505a76af4e9e850ccc99ec9d6a3ed0a53b921
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 28 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fcc744f771..d20740e07e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13990,8 +13990,35 @@ Command Line Argument Parser.") for programs written with Clap.") (license (list license:expat license:asl2.0)))) +(define-public rust-clap-complete-command-0.6 + (package + (name "rust-clap-complete-command") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap_complete_command" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qhv99j7msqyw7j17hswqwpqbdvqawy8l7ip6rnnh5930n61k3ns")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-carapace-spec-clap" ,rust-carapace-spec-clap-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-4)) + #: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-command-0.5 (package + (inherit rust-clap-complete-command-0.6) (name "rust-clap-complete-command") (version "0.5.1") (source (origin @@ -14001,7 +14028,6 @@ for programs written with Clap.") (sha256 (base32 "0gcsj6ls8y0jpjp5172gdqwx5zj6gm4wdgrqysglr3d73qvrad0q")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-carapace-spec-clap" ,rust-carapace-spec-clap-0.1) @@ -14009,13 +14035,7 @@ for programs written with Clap.") ("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))) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4)))))) (define-public rust-clap-complete-fig-4 (package |