Subject: [bug#56057] [gnu: Add dua-cli. 24/27] gnu: Add rust-clap-lex-3.

From: antlers <[email-masked]>
Date: Sat, 18 Jun 2022 12:56:53 -0700

* gnu/packages/crates-io.scm (rust-clap-lex-3): New variable.
---
:100644 100644 bf4145a3c8 13e312a077 M	gnu/packages/crates-io.scm
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bf4145a3c8..13e312a077 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73385,6 +73385,27 @@ (define-public rust-clap-derive-3
      "Parse command line argument by defining a struct, derive crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-clap-lex-0.2
+  (package
+    (name "rust-clap-lex")
+    (version "0.2.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "clap_lex" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "04rn568mpbc4smk1wlsh9ky4z12b53rgiv6g6i1fpssh0ikcsf2m"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-os-str-bytes" ,rust-os-str-bytes-6))))
+    (home-page "https://github.com/clap-rs/clap/tree/master/clap_lex")
+    (synopsis "Minimal, flexible command line parser")
+    (description "Minimal, flexible command line parser")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-cvss-1
   (package
     (name "rust-cvss")
-- 
2.36.0