[bug#75677,rust-team,v2,22/81] gnu: rust-bytecheck-0.7: New variable.

Message ID 20250308033446.2101481-23-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted package updates for rust-team |

Commit Message

Aaron Covrig March 8, 2025, 3:33 a.m. UTC
  * gnu/packages/crates-io.scm (rust-bytecheck-0.7): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7ed6929f4c..24754ce2e5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9857,22 +9857,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))))
@@ -9882,6 +9882,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)