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

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

* gnu/packages/crates-io.scm (rust-bytecheck-0.8): New variable.
---
 gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++-----
 1 file changed, 26 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2d360f6098..51658b854e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9761,23 +9761,24 @@ (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.7
+(define-public rust-bytecheck-0.8
   (package
     (name "rust-bytecheck")
-    (version "0.7.0")
+    (version "0.8.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "bytecheck" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0pfk0vdvjhxyziwpf5180cmywkbq2zh8k0rgpd6fak1hzqq2cl21"))))
+                "0vxw00k85v13x9gl5gmc7svjjanq4aygqqais55ba8sbfhqg9j2h"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f      ; Not all files included.
        #:cargo-inputs
-       (("rust-bytecheck-derive" ,rust-bytecheck-derive-0.7)
-        ("rust-ptr-meta" ,rust-ptr-meta-0.1)
+       (("rust-bytecheck-derive" ,rust-bytecheck-derive-0.8)
+        ("rust-ptr-meta" ,rust-ptr-meta-0.3)
+        ("rust-rancor" ,rust-rancor-0.1)
         ("rust-simdutf8" ,rust-simdutf8-0.1)
         ("rust-uuid" ,rust-uuid-1))))
     (home-page "https://github.com/rkyv/bytecheck")
@@ -9786,6 +9787,26 @@ (define-public rust-bytecheck-0.7
 Rust.")
     (license license:expat)))
 
+(define-public rust-bytecheck-0.7
+  (package
+    (inherit rust-bytecheck-0.8)
+    (name "rust-bytecheck")
+    (version "0.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "bytecheck" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0pfk0vdvjhxyziwpf5180cmywkbq2zh8k0rgpd6fak1hzqq2cl21"))))
+    (arguments
+     `(#:tests? #f      ; Not all files included.
+       #:cargo-inputs
+       (("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))))))
+
 (define-public rust-bytecheck-0.6
   (package
     (inherit rust-bytecheck-0.7)
-- 
2.47.1