Subject: [PATCH 05/21] gnu: Add rust-random-0.12.

From: phodina <[email-masked]>
Date: Tue, 09 Nov 2021 21:14:24 +0000

* gnu/packages/crates-io.scm (rust-random-0.12): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3cb3ccf601..c175e677a1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39709,6 +39709,24 @@ (define-public rust-rand-xoshiro-0.1
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.6))))))

+(define-public rust-random-0.12
+  (package
+    (name "rust-random")
+    (version "0.12.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "random" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "03s2c59vzcr5fmxbhlhxvrsnwgic488jl4br1k4q369lhls3mlcp"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page "https://github.com/stainless-steel/random")
+    (synopsis "Sources of randomness")
+    (description "The package provides sources of randomness.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-random-fast-rng-0.1
   (package
     (name "rust-random-fast-rng")
--
2.33.1