Subject: [PATCH rust-team 11/23] gnu: Add rust-zerocopy-derive-0.8.

From: Maxim Cournoyer <[email-masked]>
Date: Tue, 10 Dec 2024 23:21:14 +0900

* gnu/packages/crates-io.scm (rust-zerocopy-derive-0.8): New variable.
(rust-zerocopy-derive-0.7): Inherit from it.

Change-Id: Ia23684a67a84d656036c15d25d7634e6e49f05ab
---
 gnu/packages/crates-io.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ff615677cf..3c94381ffe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -98378,22 +98378,22 @@ (define-public rust-zerocopy-0.3
 (define-public rust-zerocopy-derive-0.8
   (package
     (name "rust-zerocopy-derive")
-    (version "0.8.9")
+    (version "0.8.13")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "zerocopy-derive" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1cd712qs5ccn6diy53ymk8vkprgcmnx1gvg3x3xsdxqxi362ywzs"))
+        (base32 "0pgjqk2w5wrw752wfsxgf7rwqjlk1r4vq5iky2fjijh38cxdg23r"))
        (modules '((guix build utils)))
-       (snippet
+       (snippet                         ;relax requirements
         '(begin (substitute* "Cargo.toml"
                   (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
                    (string-append "\"^" version)))))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f  ; unresolved import `zerocopy`
+     `(#:tests? #f                 ;error[E0432]: unresolved import `zerocopy`
        #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
                        ("rust-quote" ,rust-quote-1)
                        ("rust-syn" ,rust-syn-2))
-- 
2.46.0