Subject: [PATCH rust-team v2 52/68] gnu: rust-randomize-5: New variable.

From: Aaron Covrig <[email-masked]>
Date: Tue, 18 Mar 2025 21:19:10 -0400

* gnu/packages/crates-io.scm (rust-randomize-5): New variable.

Signed-off-by: Aaron Covrig <[email-masked]>
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++------
 1 file changed, 20 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ad7697ad6d..1ab015dc2a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63516,22 +63516,22 @@ (define-public rust-random-trait-0.1
 random generic types.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-randomize-4
+(define-public rust-randomize-5
   (package
     (name "rust-randomize")
-    (version "4.0.0-alpha.3")
+    (version "5.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "randomize" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0m4vkgm161q51ww9bvf0kram9cxg8j3p80rl9w1fzpgkwcwbqhpm"))))
+        (base32 "0bycs7i6r8z54q9g7wkl9w5s7fgswmpnhsaf4aljadqz0hricq02"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #true
-       #:cargo-inputs
-       (("rust-getrandom" ,rust-getrandom-0.1))))
+     `(#:cargo-inputs
+       (("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-getrandom" ,rust-getrandom-0.1))))
     (home-page "https://github.com/Lokathor/randomize")
     (synopsis "Minimalist randomization library")
     (description
@@ -63539,6 +63539,20 @@ (define-public rust-randomize-4
     (license
      (list license:zlib license:asl2.0 license:expat))))
 
+(define-public rust-randomize-4
+  (package
+    (inherit rust-randomize-5)
+    (name "rust-randomize")
+    (version "4.0.0-alpha.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "randomize" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0m4vkgm161q51ww9bvf0kram9cxg8j3p80rl9w1fzpgkwcwbqhpm"))))
+    (arguments `(#:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.1))))))
+
 (define-public rust-ratatui-0.29
   (package
     (name "rust-ratatui")
-- 
2.48.1