Subject: [PATCH rust-team 83/89] gnu: rust-lazy-regex-proc-macros-2: New variable.

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0e0d3e8a29..3e4804c280 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38594,6 +38594,25 @@ (define-public rust-lazy-regex-proc-macros-3
     (description "This package provides proc macros for the lazy_regex crate.")
     (license license:expat)))
 
+(define-public rust-lazy-regex-proc-macros-2
+  (package
+    (inherit rust-lazy-regex-proc-macros-3)
+    (name "rust-lazy-regex-proc-macros")
+    (version "2.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lazy-regex-proc_macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "08hwc7w6y20v32p08swg9ar9p86gawas4bp60zi8bkjniwdw3pwf"))))
+    (arguments
+     `(#:tests? #f      ; cannot find macros in this scope
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-lazy-static-1
   (package
     (name "rust-lazy-static")
-- 
2.47.1