guix-commits
[Top][All Lists]
Advanced

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

06/31: gnu: Add rust-lalrpop-util-0.20.


From: guix-commits
Subject: 06/31: gnu: Add rust-lalrpop-util-0.20.
Date: Sun, 31 Mar 2024 14:27:51 -0400 (EDT)

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

commit fc2bd00df66ee0493df628703bc025738b8a1c91
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Mar 31 16:54:04 2024 +0300

    gnu: Add rust-lalrpop-util-0.20.
    
    * gnu/packages/crates-io.scm (rust-lalrpop-util-0.20): New variable.
    (rust-lalrpop-util-0.19): Inherit from rust-lalrpop-util-0.20.
    
    Change-Id: I0e44395a92e7166a4a937fa91ff1a7ad5185514d
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++--------
 1 file changed, 22 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 32a2ef847b..aab43fe683 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36270,8 +36270,29 @@ grammars.")
       #:cargo-development-inputs
       (("rust-rand" ,rust-rand-0.6))))))
 
+(define-public rust-lalrpop-util-0.20
+  (package
+    (name "rust-lalrpop-util")
+    (version "0.20.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lalrpop-util" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lr5r12bh9gjjlmnjrbblf4bfcwnad4gz1hqjvp34yzb22ln0x2h"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-regex-automata" ,rust-regex-automata-0.4))))
+    (home-page "https://github.com/lalrpop/lalrpop";)
+    (synopsis "Runtime library for parsers generated by LALRPOP")
+    (description "THis package provides the runtime library for parsers
+generated by LALRPOP.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-lalrpop-util-0.19
   (package
+    (inherit rust-lalrpop-util-0.20)
     (name "rust-lalrpop-util")
     (version "0.19.1")
     (source
@@ -36281,16 +36302,9 @@ grammars.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0224r8gsbk8and96nhwgzdj4hc1c01g78zmvv3x4f5jnzwg1cwb7"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-regex" ,rust-regex-1))))
-  (home-page "https://github.com/lalrpop/lalrpop";)
-  (synopsis "Runtime library for parsers generated by LALRPOP")
-  (description "THis package provides the runtime library for parsers
-generated by LALRPOP.")
-  (license (list license:asl2.0 license:expat))))
+       #:cargo-inputs (("rust-regex" ,rust-regex-1))))))
 
 (define-public rust-lalrpop-util-0.17
   (package



reply via email to

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