[bug#74743,rust-team,v2,23/68] gnu: rust-rand-core-0.9: New variable.

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

Commit Message

Aaron Covrig March 19, 2025, 1:18 a.m. UTC
  * gnu/packages/crates-io.scm: (rust-rand-core-0.9): New variable.

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 655f6a7f0f..c76600ebc7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62466,24 +62466,21 @@  (define-public rust-rand-chacha-0.1
        #:cargo-development-inputs
        (("rust-autocfg" ,rust-autocfg-0.1))))))
 
-(define-public rust-rand-core-0.6
+(define-public rust-rand-core-0.9
   (package
     (name "rust-rand-core")
-    (version "0.6.4")
+    (version "0.9.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "rand_core" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0b4j2v4cb5krak1pv6kakv4sz6xcwbrmy2zckc32hsigbrwy82zc"))))
+        (base32 "0f3xhf16yks5ic6kmgxcpv1ngdhp48mmfy4ag82i1wnwh8ws3ncr"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-test-flags '("--"
-                            ;; Skip broken test/deny(dead_code) lint
-                            "--skip=src/lib.rs - SeedableRng::Seed (line 265)")
-       #:cargo-inputs
-       (("rust-getrandom" ,rust-getrandom-0.2)
+     `(#:cargo-inputs
+       (("rust-getrandom" ,rust-getrandom-0.3)
         ("rust-serde" ,rust-serde-1))))
     (home-page "https://rust-random.github.io/book")
     (synopsis "Core random number generator traits and tools")
@@ -62492,6 +62489,26 @@  (define-public rust-rand-core-0.6
 tools for implementation.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rand-core-0.6
+  (package
+    (inherit rust-rand-core-0.9)
+    (name "rust-rand-core")
+    (version "0.6.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rand_core" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0b4j2v4cb5krak1pv6kakv4sz6xcwbrmy2zckc32hsigbrwy82zc"))))
+    (arguments
+     `(#:cargo-test-flags '("--"
+                            ;; Skip broken test/deny(dead_code) lint
+                            "--skip=src/lib.rs - SeedableRng::Seed (line 265)")
+       #:cargo-inputs
+       (("rust-getrandom" ,rust-getrandom-0.2)
+        ("rust-serde" ,rust-serde-1))))))
+
 (define-public rust-rand-core-0.5
   (package
     (inherit rust-rand-core-0.6)