guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

383/470: gnu: Add rust-clap-complete-4.


From: guix-commits
Subject: 383/470: gnu: Add rust-clap-complete-4.
Date: Thu, 16 Mar 2023 03:02:20 -0400 (EDT)

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

commit 219d1c0c0cb4666f05023ea3841bf6c527a56d19
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 17:15:12 2023 +0200

    gnu: Add rust-clap-complete-4.
    
    * gnu/packages/crates-io.scm (rust-clap-complete-4): New variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 29145b4649..7183bbdccd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11102,6 +11102,36 @@ Command Line Argument Parser.")
         ("rust-version-sync" ,rust-version-sync-0.8))))
     (license license:expat)))
 
+(define-public rust-clap-complete-4
+  (package
+    (name "rust-clap-complete")
+    (version "4.1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "clap-complete" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"1zinf9gdr0fh1aff71nwqf51w856sbsbgq0dqpmmbhplggl5n4mx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-clap" ,rust-clap-4)
+        ("rust-clap-lex" ,rust-clap-lex-0.3)
+        ("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))
+       #:cargo-development-inputs
+       (("rust-clap" ,rust-clap-4)
+        ("rust-snapbox" ,rust-snapbox-0.4)
+        ("rust-trycmd" ,rust-trycmd-0.14))))
+    (home-page "https://github.com/clap-rs/clap/tree/master/clap_complete";)
+    (synopsis "Generate shell completion scripts for your clap::Command")
+    (description
+     "Generate shell completion scripts for your @code{clap::Command}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-clap-complete-3
   (package
     (name "rust-clap-complete")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]