summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-07-13 21:04:38 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-07-18 20:56:26 +0300
commit398b08686c6cd6e275056cba513c48f697bf9747 (patch)
treee6c8dcf9df3a561fdd9641b9baa30eca94e8fce4
parent4b6de1938d7336ae4c30125c89cd0ea5dc80eee1 (diff)
downloadguix-398b08686c6cd6e275056cba513c48f697bf9747.tar.gz
gnu: rust-regex-1: Update to 1.9.1.
* gnu/packages/crates-io.scm (rust-regex-1): Update to 1.9.1.
[cargo-inputs]: Add rust-regex-automata-0.3.  Replace
rust-aho-corasick-0.7 with 1, rust-regex-syntax-0.6 with 0.7.
[cargo-development-inputs]: Add rust-anyhow-1, rust-doc-comment-0.3,
rust-env-logger-0.9, rust-once-cell-1, rust-regex-test-0.1.  Remove
rust-lazy-static-1, rust-rand-0.8.
-rw-r--r--gnu/packages/crates-io.scm16
1 files changed, 10 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d2c4d5d16f..fbe96ac618 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52006,24 +52006,28 @@ memory to speed up reallocation.")
 (define-public rust-regex-1
   (package
     (name "rust-regex")
-    (version "1.7.1")
+    (version "1.9.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "regex" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0czp6hxg02lm02hvlhp9xjkd65cjcagw119crnaznwd5idsabaj8"))))
+        (base32 "0xdmrvs8fy7yw2bdk76mjbhzqibms7g4ljg468jwzxr0qa7ydsmj"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-aho-corasick" ,rust-aho-corasick-0.7)
+       (("rust-aho-corasick" ,rust-aho-corasick-1)
         ("rust-memchr" ,rust-memchr-2)
-        ("rust-regex-syntax" ,rust-regex-syntax-0.6))
+        ("rust-regex-automata" ,rust-regex-automata-0.3)
+        ("rust-regex-syntax" ,rust-regex-syntax-0.7))
        #:cargo-development-inputs
-       (("rust-lazy-static" ,rust-lazy-static-1)
+       (("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-rand" ,rust-rand-0.8))))
+        ("rust-regex-test" ,rust-regex-test-0.1))))
     (home-page "https://github.com/rust-lang/regex")
     (synopsis "Regular expressions for Rust")
     (description