guix-commits
[Top][All Lists]
Advanced

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

127/311: gnu: Add rust-regex-syntax-0.8.


From: guix-commits
Subject: 127/311: gnu: Add rust-regex-syntax-0.8.
Date: Sat, 28 Oct 2023 16:38:31 -0400 (EDT)

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

commit c8cc1b003852cbf70544276ac99a0f9ef614ba31
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 10:01:42 2023 +0300

    gnu: Add rust-regex-syntax-0.8.
    
    * gnu/packages/crates-io.scm (rust-regex-syntax-0.8): New variable.
    (rust-regex-syntax-0.7): Inherit from rust-regex-syntax-0.8.
    
    Change-Id: Ic037695eaa1567421bda84a96ad0a4ea893d505b
---
 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 f2ef9000b1..a5fec34a40 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59555,8 +59555,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.8
+  (package
+    (name "rust-regex-syntax")
+    (version "0.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "regex-syntax" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17rd2s8xbiyf6lb4aj2nfi44zqlj98g2ays8zzj2vfs743k79360"))))
+    (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.7
   (package
+    (inherit rust-regex-syntax-0.8)
     (name "rust-regex-syntax")
     (version "0.7.4")
     (source (origin
@@ -59566,13 +59586,8 @@ uses finite automata and guarantees linear time 
matching on all inputs.")
               (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))))
+     `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1))))))
 
 (define-public rust-regex-syntax-0.6
   (package



reply via email to

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