Subject: [bug#75677] [PATCH rust-team v2 08/81] gnu: rust-peg-0.6: Upgrade to v0.6.3.

From: Aaron Covrig <[email-masked]>
Date: Fri, 7 Mar 2025 22:33:14 -0500

* gnu/packages/crates-io.scm (rust-peg-0.6): Upgrade to v0.6.3.
* gnu/packages/crates-io.scm (rust-peg-macros-0.6): Upgrade to v0.6.3.
* gnu/packages/crates-io.scm (rust-peg-runtime-0.6): Upgrade to v0.6.3.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ce67382396..97103a57a4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53515,17 +53515,21 @@ (define-public rust-peg-0.6
   (package
     (inherit rust-peg-0.8)
     (name "rust-peg")
-    (version "0.6.2")
+    (version "0.6.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "peg" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "15rfp12dgsynplphp443zfw47m2d5snvdm6a25gz48dv2if8fxch"))))
+        (base32 "0rqkllpmcsda51wkhghyrp0wcg77wg12lzivqdx1fbr75246fxlz"))
+       (modules '((guix build utils)))
+       ;; Remove broken test files (they are supposed to fail)
+       (snippet '(begin
+                   (delete-file "tests/compile-fail/rule_args_errors.rs")
+                   (delete-file "tests/compile-fail/rust_action_type_error.rs")))))
     (arguments
-     `(#:tests? #f
-       #:cargo-inputs (("rust-peg-macros" ,rust-peg-macros-0.6)
+     `(#:cargo-inputs (("rust-peg-macros" ,rust-peg-macros-0.6)
                        ("rust-peg-runtime" ,rust-peg-runtime-0.6))
        #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))))
 
@@ -53574,14 +53578,14 @@ (define-public rust-peg-macros-0.6
   (package
     (inherit rust-peg-macros-0.8)
     (name "rust-peg-macros")
-    (version "0.6.2")
+    (version "0.6.3")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "peg-macros" version))
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
-         (base32 "0li8qrb8hyqr7v5mhrkym0xp7ijnbksqviqc2i3556cysdgick62"))))
+         (base32 "0kdisa6di5gkgpw97897lg78jhsx6nliax3d4s6y8cvnz6n60vb3"))))
     (arguments
      `(#:cargo-inputs
        (("rust-peg-runtime" ,rust-peg-runtime-0.6)
@@ -53611,14 +53615,14 @@ (define-public rust-peg-runtime-0.6
   (package
     (inherit rust-peg-runtime-0.8)
     (name "rust-peg-runtime")
-    (version "0.6.2")
+    (version "0.6.3")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "peg-runtime" version))
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
-         (base32 "0r583cq923v0narrpq73qmp780yg4pablzklhrwnr64xwsbjh6hc"))))))
+         (base32 "1i99fq2xj1isx44d2b06m31f58spqga9kiyka20xg69d9m8v2mcm"))))))
 
 (define-public rust-pem-3
   (package
-- 
2.48.1