Subject: [bug#67757] [PATCH 12/19] gnu: rust-pcre2-sys-0.2: Update to 0.2.7.

From: Jaeme Sifat <[email-masked]>
Date: Sun, 10 Dec 2023 18:06:53 -0500

* gnu/packages/crates-io.scm (rust-pcre2-sys-0.2): Update to 0.2.7.
[source]: Remove unneeded build snippet.
[native-inputs]: Make prce2 a regular input.

Change-Id: I07bfd73ce4a60dd2fed4a3f7bb6adbeac7e70da5
---
 gnu/packages/crates-io.scm | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f88d76bfe2..afbea5fd77 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53990,7 +53990,7 @@ (define-public rust-pcre2-0.2
 (define-public rust-pcre2-sys-0.2
   (package
     (name "rust-pcre2-sys")
-    (version "0.2.5")
+    (version "0.2.7")
     (source
      (origin
        (method url-fetch)
@@ -53999,18 +53999,14 @@ (define-public rust-pcre2-sys-0.2
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "08mp6yxrvadplwd0drdydzskvzapr6dri9fyy7xvhzn3krg0xhyy"))
-       (modules '((guix build utils)))
-       (snippet
-        '(begin (delete-file-recursively "pcre2") #t))))
+         "1wpdvb5kaj8ggd3z63mhviyv5nbwkb0xz7wlh6sc1wiwy9b5b3wg"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-libc" ,rust-libc-0.2)
-        ("rust-pkg-config" ,rust-pkg-config-0.3)
-        ("rust-cc" ,rust-cc-1))))
-    (native-inputs
-     (list pcre2 pkg-config))
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3)
+                       ("rust-cc" ,rust-cc-1))))
+    (native-inputs (list pkg-config))
+    (inputs (list pcre2))
     (home-page
      "https://github.com/BurntSushi/rust-pcre2")
     (synopsis "Low level bindings to PCRE2")
-- 
2.41.0