Subject: [PATCH 3/7] gnu: Add rust-regex-1.9.

From: Jaeme Sifat <[email-masked]>
Date: Thu, 21 Dec 2023 15:55:01 -0500

* gnu/packages/crates-io.scm (rust-regex-1.9): New variable.

Change-Id: If52368ce7297a51051dab14f1079bf4ae7ce0fc7
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bb2b188dd6..8fbbe6a658 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62795,6 +62795,32 @@ (define-public rust-regex-1
 uses finite automata and guarantees linear time matching on all inputs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-regex-1.9
+  (package
+    (inherit rust-regex-1)
+    (name "rust-regex")
+    (version "1.9.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "regex" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1zs4h2swgfqsspj11jqqs7k66vbdmq222rwbid9byva00la21vpb"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-aho-corasick" ,rust-aho-corasick-1)
+        ("rust-memchr" ,rust-memchr-2)
+        ("rust-regex-automata" ,rust-regex-automata-0.3)
+        ("rust-regex-syntax" ,rust-regex-syntax-0.7))
+       #:cargo-development-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-doc-comment" ,rust-doc-comment-0.3)
+        ("rust-env-logger" ,rust-env-logger-0.9)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-quickcheck" ,rust-quickcheck-1)
+        ("rust-regex-test" ,rust-regex-test-0.1))))))
+
 (define-public rust-regex-0.2
   (package
     (inherit rust-regex-1)
-- 
2.41.0