summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
author( <paren@disroot.org>2022-11-29 07:00:51 +0000
committerTobias Geerinckx-Rice <me@tobias.gr>2022-11-27 01:00:06 +0100
commitb1dbeb53def4e0b9faa37c772a0f0d46bbf00383 (patch)
tree49195e8f3961682cb3785c3abf47bc69b7cdebaa /gnu/packages/crates-io.scm
parent185171acf0f7964f1e7fd1bbc454fa3c43663066 (diff)
downloadguix-b1dbeb53def4e0b9faa37c772a0f0d46bbf00383.tar.gz
gnu: Add rust-clap-lex-0.2.
* gnu/packages/crates-io.scm (rust-clap-lex-0.2): New variable.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 82375a3123..de155c17e5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10621,6 +10621,27 @@ Command Line Argument Parser.")
         ("rust-version-sync" ,rust-version-sync-0.8))))
     (license license:expat)))
 
+(define-public rust-clap-lex-0.2
+  (package
+    (name "rust-clap-lex")
+    (version "0.2.4")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "clap-lex" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ib1a9v55ybnaws11l63az0jgz5xiy24jkdgsmyl7grcm3sz4l18"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-inputs
+           `(("rust-os-str-bytes" ,rust-os-str-bytes-6))))
+    (home-page "https://github.com/clap-rs/clap/tree/master/clap_lex")
+    (synopsis "Command line parser for Clap")
+    (description
+     "This package provides a parser for command line options.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-clearscreen-1
   (package
     (name "rust-clearscreen")