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

Message ID 20250319011932.1899508-45-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted rust-* package upgrades |

Commit Message

Aaron Covrig March 19, 2025, 1:19 a.m. UTC
  * gnu/packages/crates-io.scm (rust-nanorand-0.5): Update to v0.5.2.

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
  

Patch

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