Subject: [bug#75677] [PATCH rust-team 26/89] gnu: rust-bytecheck-0.7: New variable.

From: Aaron Covrig <[email-masked]>
Date: Sun, 19 Jan 2025 17:49:00 -0500

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1248f5e271..ec44c0cc03 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9761,22 +9761,22 @@ (define-public rust-byte-unit-4
      `(#:cargo-inputs (("rust-serde" ,rust-serde-1)
                        ("rust-utf8-width" ,rust-utf8-width-0.1))))))
 
-(define-public rust-bytecheck-0.6
+(define-public rust-bytecheck-0.7
   (package
     (name "rust-bytecheck")
-    (version "0.6.12")
+    (version "0.7.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "bytecheck" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1hmipv4yyxgbamcbw5r65wagv9khs033v9483s9kri9sw9ycbk93"))))
+                "0pfk0vdvjhxyziwpf5180cmywkbq2zh8k0rgpd6fak1hzqq2cl21"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f      ; Not all files included.
        #:cargo-inputs
-       (("rust-bytecheck-derive" ,rust-bytecheck-derive-0.6)
+       (("rust-bytecheck-derive" ,rust-bytecheck-derive-0.7)
         ("rust-ptr-meta" ,rust-ptr-meta-0.1)
         ("rust-simdutf8" ,rust-simdutf8-0.1)
         ("rust-uuid" ,rust-uuid-1))))
@@ -9786,6 +9786,26 @@ (define-public rust-bytecheck-0.6
 Rust.")
     (license license:expat)))
 
+(define-public rust-bytecheck-0.6
+  (package
+    (inherit rust-bytecheck-0.7)
+    (name "rust-bytecheck")
+    (version "0.6.12")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "bytecheck" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1hmipv4yyxgbamcbw5r65wagv9khs033v9483s9kri9sw9ycbk93"))))
+    (arguments
+     `(#:tests? #f      ; Not all files included.
+       #:cargo-inputs
+       (("rust-bytecheck-derive" ,rust-bytecheck-derive-0.6)
+        ("rust-ptr-meta" ,rust-ptr-meta-0.1)
+        ("rust-simdutf8" ,rust-simdutf8-0.1)
+        ("rust-uuid" ,rust-uuid-1))))))
+
 (define-public rust-bytecheck-0.5
   (package
     (inherit rust-bytecheck-0.6)
-- 
2.47.1