Subject: [bug#75677] [PATCH rust-team v2 21/81] gnu: rust-bytecheck-derive-0.7: New variable.

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

* gnu/packages/crates-io.scm (rust-bytecheck-derive-0.7): New variable.
---
 gnu/packages/crates-io.scm | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d360eeb862..7ed6929f4c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9902,17 +9902,17 @@ (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.6
+(define-public rust-bytecheck-derive-0.7
   (package
     (name "rust-bytecheck-derive")
-    (version "0.6.12")
+    (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
-                "0ng6230brd0hvqpbgcx83inn74mdv3abwn95x515bndwkz90dd1x"))))
+                "1nhymi1ln6fpwi2vfm3pgzhabfnr3f3xzf8s43f0gg45f1c8ra7d"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -9925,6 +9925,24 @@ (define-public rust-bytecheck-derive-0.6
 validation framework for Rust.")
     (license license:expat)))
 
+(define-public rust-bytecheck-derive-0.6
+  (package
+    (inherit rust-bytecheck-derive-0.7)
+    (name "rust-bytecheck-derive")
+    (version "0.6.12")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "bytecheck_derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0ng6230brd0hvqpbgcx83inn74mdv3abwn95x515bndwkz90dd1x"))))
+    (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.5
   (package
     (inherit rust-bytecheck-derive-0.6)
-- 
2.48.1