Subject: [PATCH rust-team v2 23/81] gnu: rust-bytecheck-derive-0.8: New variable.

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

* gnu/packages/crates-io.scm (rust-bytecheck-derive-0.8): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 24754ce2e5..7f44b0dbe8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9922,29 +9922,48 @@ (define-public rust-bytecheck-0.5
         ("rust-ptr-meta" ,rust-ptr-meta-0.1)
         ("rust-simdutf8" ,rust-simdutf8-0.1))))))
 
-(define-public rust-bytecheck-derive-0.7
+(define-public rust-bytecheck-derive-0.8
   (package
     (name "rust-bytecheck-derive")
-    (version "0.7.0")
+    (version "0.8.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "bytecheck_derive" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1nhymi1ln6fpwi2vfm3pgzhabfnr3f3xzf8s43f0gg45f1c8ra7d"))))
+                "1zwgvgm7d849av8xdbin93xv1hrs205m1pzg2n1bcjfzw75n6csj"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1))))
+        ("rust-syn" ,rust-syn-2))))
     (home-page "https://github.com/rkyv/bytecheck")
     (synopsis "Derive macro for bytecheck")
     (description "This package provides a Derive macro for bytecheck, the type
 validation framework for Rust.")
     (license license:expat)))
 
+(define-public rust-bytecheck-derive-0.7
+  (package
+    (inherit rust-bytecheck-derive-0.8)
+    (name "rust-bytecheck-derive")
+    (version "0.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "bytecheck_derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1nhymi1ln6fpwi2vfm3pgzhabfnr3f3xzf8s43f0gg45f1c8ra7d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-bytecheck-derive-0.6
   (package
     (inherit rust-bytecheck-derive-0.7)
-- 
2.48.1