guix-commits
[Top][All Lists]
Advanced

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

458/472: gnu: Add rust-regex-syntax-0.7.


From: guix-commits
Subject: 458/472: gnu: Add rust-regex-syntax-0.7.
Date: Tue, 18 Jul 2023 14:10:06 -0400 (EDT)

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

commit aee6388727df7d52a46bb81f883b7f72f64ae219
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jul 13 21:55:39 2023 +0300

    gnu: Add rust-regex-syntax-0.7.
    
    * gnu/packages/crates-io.scm (rust-regex-syntax-0.7): New variable.
    (rust-regex-syntax-0.6): Inherit from rust-regex-syntax-0.7.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f58aba66f6..3e86cd7176 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52352,8 +52352,28 @@ uses finite automata and guarantees linear time 
matching on all inputs.")
         ("rust-serde-derive" ,rust-serde-derive-1)
         ("rust-toml" ,rust-toml-0.5)))))) ; 0.4
 
+(define-public rust-regex-syntax-0.7
+  (package
+    (name "rust-regex-syntax")
+    (version "0.7.4")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "regex-syntax" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1qjczlc2w92kamn9ipjdr5pjql0jnccahpi9l3r6wp0rnsjr5sp5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1))))
+    (home-page "https://github.com/rust-lang/regex/tree/master/regex-syntax";)
+    (synopsis "Regular expression parser")
+    (description "This package provides a regular expression parser.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-regex-syntax-0.6
   (package
+    (inherit rust-regex-syntax-0.7)
     (name "rust-regex-syntax")
     (version "0.6.27")
     (source
@@ -52363,12 +52383,7 @@ uses finite automata and guarantees linear time 
matching on all inputs.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0i32nnvyzzkvz1rqp2qyfxrp2170859z8ck37jd63c8irrrppy53"))))
-    (build-system cargo-build-system)
-    (home-page "https://github.com/rust-lang/regex";)
-    (synopsis "Regular expression parser")
-    (description
-     "This package provides a regular expression parser.")
-    (license (list license:expat license:asl2.0))))
+    (arguments '())))
 
 (define-public rust-regex-syntax-0.5
   (package



reply via email to

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