diff mbox series

[bug#57702,6/8] gnu: Add rust-clap-lex-0.2.

Message ID Ha3q0RAe_PX7RpPFqcCEvf8Hs0PueKwNW5jp79_dFTrG42YSCqwXPu5klQ4O3h2YSJn5EtzdErVIfyruwsiZrT_wSRLwtsaDUbNAZqe2LEk=@protonmail.com
State New
Headers show
Series None | expand

Commit Message

VesselWave Sept. 10, 2022, 6:17 a.m. UTC
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

--
2.37.2
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 198ab55444..001f33aea8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11473,6 +11473,27 @@  (define-public rust-clang-sys-0.11
         ("rust-libc" ,rust-libc-0.2)
         ("rust-libloading" ,rust-libloading-0.3))))))

+(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
+     `(#: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
+     "This package provides a minimal, flexible command line parser")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-clap-derive-3
   (package
     (name "rust-clap-derive")