Subject: [bug#74743] [PATCH rust-team v2 44/68] gnu: rust-nanorand-0.5: Update to v0.5.2.

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

* gnu/packages/crates-io.scm (rust-nanorand-0.5): Update to v0.5.2.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b1d7d21484..aac2077b02 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45028,25 +45028,24 @@ (define-public rust-nanorand-0.5
   (package
     (inherit rust-nanorand-0.7)
     (name "rust-nanorand")
-    (version "0.5.1")
+    (version "0.5.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "nanorand" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1ryi6jdfsfij4di33f269099g7m32rlr7sv7j4pklnjcj2xxfwri"))))
+        (base32 "1l12b8yrf1bk9c7hkra27049b1yz8yzijjj6z30a34vwdyv7h4xc"))
+      (modules '((guix build utils)))
+      (snippet #~(substitute* "Cargo.toml"
+                 ;; README.md not included in the release tarball.
+                 (("../README.md") "Cargo.toml")))))
     (arguments
-     `(#:skip-build? #true              ;error with pre-release randomize
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-getrandom" ,rust-getrandom-0.2)
         ("rust-zeroize" ,rust-zeroize-1))
        #:cargo-development-inputs
-       (("rust-criterion" ,rust-criterion-0.3)
-        ("rust-fastrand" ,rust-fastrand-1)
-        ("rust-hex" ,rust-hex-0.4)
-        ("rust-random-fast-rng" ,rust-random-fast-rng-0.1)
-        ("rust-randomize" ,rust-randomize-4))))))
+       (("rust-hex" ,rust-hex-0.4))))))
 
 (define-public rust-nanorand-0.4
   (package
-- 
2.48.1