guix-commits
[Top][All Lists]
Advanced

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

70/330: gnu: Add rust-fancy-regex-0.13.


From: guix-commits
Subject: 70/330: gnu: Add rust-fancy-regex-0.13.
Date: Mon, 18 Mar 2024 07:15:16 -0400 (EDT)

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

commit 409cc09d13a03de864449c110e44fe55372c1eb1
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 13:18:09 2024 +0200

    gnu: Add rust-fancy-regex-0.13.
    
    * gnu/packages/crates-io.scm (rust-fancy-regex-0.13): New variable.
    (rust-fancy-regex-0.11): Inherit from rust-fancy-regex-0.13.
    
    Change-Id: I6220e01dd805e9960dff08b3e40be2a6d5c22432
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++------
 1 file changed, 27 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fee6674544..8b4a5dadae 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22918,24 +22918,26 @@ provides implementations for @code{HashMap} and 
@code{HashSet}.")
     (description "Fallible streaming iteration")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-fancy-regex-0.11
+(define-public rust-fancy-regex-0.13
   (package
     (name "rust-fancy-regex")
-    (version "0.11.0")
+    (version "0.13.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "fancy-regex" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "18j0mmzfycibhxhhhfja00dxd1vf8x5c28lbry224574h037qpxr"))))
+        (base32 "1wjbqjsdj8fkq6z2i9llq25iaqzd9f208vxnwg8mdbr2ba1lc7jk"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-bit-set" ,rust-bit-set-0.5)
-                       ("rust-regex" ,rust-regex-1))
-       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+                       ("rust-regex-automata" ,rust-regex-automata-0.4)
+                       ("rust-regex-syntax" ,rust-regex-syntax-0.8))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)
                                    ("rust-matches" ,rust-matches-0.1)
-                                   ("rust-quickcheck" ,rust-quickcheck-1))))
+                                   ("rust-quickcheck" ,rust-quickcheck-1)
+                                   ("rust-regex" ,rust-regex-1))))
     (home-page "https://github.com/fancy-regex/fancy-regex";)
     (synopsis "Implementation of regexes with a rich set of features")
     (description
@@ -22946,6 +22948,25 @@ implement features such as look-around and 
backtracking, which are not
 supported in purely NFA-based implementations.")
     (license license:expat)))
 
+(define-public rust-fancy-regex-0.11
+  (package
+    (inherit rust-fancy-regex-0.13)
+    (name "rust-fancy-regex")
+    (version "0.11.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fancy-regex" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18j0mmzfycibhxhhhfja00dxd1vf8x5c28lbry224574h037qpxr"))))
+    (arguments
+     `(#:cargo-inputs (("rust-bit-set" ,rust-bit-set-0.5)
+                       ("rust-regex" ,rust-regex-1))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+                                   ("rust-matches" ,rust-matches-0.1)
+                                   ("rust-quickcheck" ,rust-quickcheck-1))))))
+
 (define-public rust-fancy-regex-0.7
   (package
     (inherit rust-fancy-regex-0.11)



reply via email to

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