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
This commit is contained in:
Efraim Flashner 2024-12-30 15:56:07 +02:00
parent 0951e06679
commit 73d4fc5ad9
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -13990,8 +13990,35 @@ (define-public rust-clap-complete-3
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 @@ (define-public rust-clap-complete-command-0.5
(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 @@ (define-public rust-clap-complete-command-0.5
("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