Subject: [PATCH 23/26] gnu: Add rust-clap-complete-3.

From: jgart <[email-masked]>
Date: Sat, 19 Nov 2022 12:45:30 -0600

* gnu/packages/crates-io.scm (rust-clap-complete-3): 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 d71486a3ae..a96fbf5a1f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68733,6 +68733,33 @@ (define-public rust-clap-conf-0.1
       "This package provides a library to unify commandline arguments with config files and environment variables.  And make it easier for users to tell your program how to behave across the three main input sources")
     (license license:expat)))
 
+(define-public rust-clap-complete-3
+  (package
+    (name "rust-clap-complete")
+    (version "3.2.5")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "clap_complete" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1n3whjkznszrxif1hzvql7hav7agq85j456fmwjwwi9cjq52wyiz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-clap" ,rust-clap-3)
+                       ("rust-clap-lex" ,rust-clap-lex-0.2)
+                       ("rust-is-executable" ,rust-is-executable-1)
+                       ("rust-os-str-bytes" ,rust-os-str-bytes-6)
+                       ("rust-pathdiff" ,rust-pathdiff-0.2)
+                       ("rust-shlex" ,rust-shlex-1)
+                       ("rust-unicode-xid" ,rust-unicode-xid-0.2))))
+    (home-page "https://github.com/clap-rs/clap/tree/master/clap_complete")
+    (synopsis "Generate shell completion scripts for your clap::Command")
+    (description
+"This package generates shell completion scripts for your @code{clap::Command}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-clap-lex-0.2
   (package
     (name "rust-clap-lex")
-- 
2.38.1