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

Message ID 20250319011932.1899508-26-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-pcg-0.9): New variable.

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 02aad0ed0f..61cdbdb4dc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62883,10 +62883,10 @@  (define-public rust-rand-os-0.1
         ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
         ("rust-winapi" ,rust-winapi-0.3))))))
 
-(define-public rust-rand-pcg-0.3
+(define-public rust-rand-pcg-0.9
   (package
     (name "rust-rand-pcg")
-    (version "0.3.1")
+    (version "0.9.0")
     (source
       (origin
         (method url-fetch)
@@ -62894,21 +62894,41 @@  (define-public rust-rand-pcg-0.3
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0gn79wzs5b19iivybwa09wv4lhi4kbcqciasiqqynggnr8cd1jjr"))))
+          "1xr04g5zrzqi9n7vyzjznnyrmy55i8k34ripsb2gmdxazzvw72ml"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-rand-core" ,rust-rand-core-0.6)
+       (("rust-rand-core" ,rust-rand-core-0.9)
         ("rust-serde" ,rust-serde-1))
        #:cargo-development-inputs
-       (("rust-bincode" ,rust-bincode-1))))
-    (home-page "https://crates.io/crates/rand_pcg")
+       (("rust-bincode" ,rust-bincode-1)
+        ("rust-rand-core" ,rust-rand-core-0.9))))
+    (home-page "https://rust-random.github.io/book")
     (synopsis
      "Selected PCG random number generators")
     (description
      "This package implements a selection of PCG random number generators.")
-    (license (list license:asl2.0
-                   license:expat))))
+    (license (list license:asl2.0 license:expat))))
+
+(define-public rust-rand-pcg-0.3
+  (package
+    (inherit rust-rand-pcg-0.9)
+    (name "rust-rand-pcg")
+    (version "0.3.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rand_pcg" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0gn79wzs5b19iivybwa09wv4lhi4kbcqciasiqqynggnr8cd1jjr"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-rand-core" ,rust-rand-core-0.6)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-bincode" ,rust-bincode-1))))))
 
 (define-public rust-rand-pcg-0.2
   (package