guix-commits
[Top][All Lists]
Advanced

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

256/379: gnu: Add rust-clap-lex-0.5.


From: guix-commits
Subject: 256/379: gnu: Add rust-clap-lex-0.5.
Date: Mon, 10 Jul 2023 05:28:56 -0400 (EDT)

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

commit 2ff6ae6924c12fc4cb5ef969ee775f40463c4fce
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 16:49:23 2023 +0300

    gnu: Add rust-clap-lex-0.5.
    
    * gnu/packages/crates-io.scm (rust-clap-lex-0.5): New variable.
    (rust-clap-lex-0.3): Inherit from rust-clap-lex-0.5.
    Update to 0.3.3.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c87240f01a..b614b23717 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11858,20 +11858,18 @@ for programs written with Clap.")
 with Clap to generate Fig completion scripts.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-clap-lex-0.3
+(define-public rust-clap-lex-0.5
   (package
     (name "rust-clap-lex")
-    (version "0.3.0")
+    (version "0.5.0")
     (source (origin
               (method url-fetch)
-              (uri (crate-uri "clap_lex" version))
+              (uri (crate-uri "clap-lex" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1a4dzbnlxiamfsn0pnkhn7n9bdfjh66j9fxm6mmr7d227vvrhh8d"))))
+                "06vcvpvp65qggc5agbirzqk2di00gxg6vazzc3qlwzkw70qxm9id"))))
     (build-system cargo-build-system)
-    (arguments
-     `(#: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
@@ -11881,6 +11879,21 @@ stream of tokens.")
     ;; The user can choose either license.
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-clap-lex-0.3
+  (package
+    (inherit rust-clap-lex-0.5)
+    (name "rust-clap-lex")
+    (version "0.3.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "clap_lex" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0ip688faib67iqqy96i0qss77virr42sib1afj63a7yb99x6ngq3"))))
+    (arguments
+     `(#:cargo-inputs (("rust-os-str-bytes" ,rust-os-str-bytes-6))))))
+
 (define-public rust-clap-lex-0.2
   (package
     (inherit rust-clap-lex-0.3)



reply via email to

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