Subject: [bug#75677] [PATCH rust-team 84/89] gnu: rust-lazy-regex-2: New variable.

From: Aaron Covrig <[email-masked]>
Date: Sun, 19 Jan 2025 17:49:58 -0500

* gnu/packages/crates-io.scm (rust-lazy-regex-2): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3e4804c280..cfc4f7b965 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38571,6 +38571,27 @@ (define-public rust-lazy-regex-3
     (description "Lazy static regular expressions checked at compile time.")
     (license license:expat)))
 
+(define-public rust-lazy-regex-2
+  (package
+    (inherit rust-lazy-regex-3)
+    (name "rust-lazy-regex")
+    (version "2.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lazy-regex" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1m1mhaf7d488jx3gcy4yvmywi4zphpjqrs59gm5q39lfqqiw8qzz"))))
+    (arguments
+     `(#:cargo-test-flags '("--all-features" "--"
+                            ;; Skip broken test
+                            "--skip=src/lib.rs - (line 139)")
+       #:cargo-inputs
+       (("rust-lazy-regex-proc-macros" ,rust-lazy-regex-proc-macros-2)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-regex" ,rust-regex-1))))))
+
 (define-public rust-lazy-regex-proc-macros-3
   (package
     (name "rust-lazy-regex-proc-macros")
-- 
2.47.1