efraim pushed a commit to branch rust-team
in repository guix.

commit f52a150fbd0e8ddf23c9d4abd56eadd7e2a603ed
Author: Efraim Flashner <[email protected]>
AuthorDate: Mon Dec 30 15:56:07 2024 +0200

    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
---
 gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++--------
 1 file changed, 28 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0445daf084..7c5dffc1f0 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

Reply via email to