Subject: [bug#67592] [PATCH 08/20] gnu: rust-fancy-regex: Update to 0.11.0.

From: Rémi Teissier <[email-masked]>
Date: Tue, 12 Dec 2023 22:16:46 +0100

Change-Id: I5cfacdb59ce28565fecc87e1afd8103b3d639c2c
---
 gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++----------
 1 file changed, 31 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c775f196b8..4d2091fd850 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25182,8 +25182,38 @@ (define-public rust-fallible-streaming-iterator-0.1
     (description "Fallible streaming iteration")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-fancy-regex-0.11
+  (package
+    (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"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-regex" ,rust-regex-1)
+         ("rust-bit-set" ,rust-bit-set-0.5))
+        #:cargo-development-inputs
+        (("rust-quickcheck" ,rust-quickcheck-1)
+         ("rust-matches" ,rust-matches-0.1)
+         ("rust-criterion" ,rust-criterion-0.3))))
+    (home-page "https://github.com/fancy-regex/fancy-regex")
+    (synopsis "Implementation of regexes with a rich set of features")
+    (description
+     "This package is a Rust library for compiling and matching regular
+expressions.  It uses a hybrid regex implementation designed to support
+a relatively rich set of features.  In particular, it uses backtracking to
+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.7
   (package
+    (inherit rust-fancy-regex-0.11)
     (name "rust-fancy-regex")
     (version "0.7.1")
     (source
@@ -25198,16 +25228,7 @@ (define-public rust-fancy-regex-0.7
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-bit-set" ,rust-bit-set-0.5)
-        ("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
-     "This package is a Rust library for compiling and matching regular
-expressions.  It uses a hybrid regex implementation designed to support
-a relatively rich set of features.  In particular, it uses backtracking to
-implement features such as look-around and backtracking, which are not
-supported in purely NFA-based implementations.")
-    (license license:expat)))
+        ("rust-regex" ,rust-regex-1))))))
 
 (define-public rust-fast-chemail-0.9
   (package
-- 
2.41.0