summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaeme Sifat <jaeme@runbox.com>2023-12-19 22:55:06 -0500
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:47 +0200
commitc73e347ec0698c090e5011a13bce15632df8bd53 (patch)
tree946628710dffab84626d52e941c12e3cb30d3234
parent366d39e61703893202bb92679ac2ac556ffc5f93 (diff)
downloadguix-c73e347ec0698c090e5011a13bce15632df8bd53.tar.gz
gnu: Add rust-rand-mt-4.
* gnu/packages/crates-io.scm (rust-rand-mt-4): New variable.

Change-Id: I9e39eb74292bbb0b3881f11c1449cf5333d1ad47
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6bb471e94d..0ef89d028e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62137,6 +62137,30 @@ generator based on timing jitter.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-rand-mt-4
+  (package
+    (name "rust-rand-mt")
+    (version "4.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rand_mt" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1pz2l6kwhx9rvfkr8n4c4klr49fancpc31wqc19543nnvv31iq29"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-rand-core" ,rust-rand-core-0.6))
+       #:cargo-development-inputs
+       (("rust-getrandom" ,rust-getrandom-0.2)
+        ("rust-version-sync" ,rust-version-sync-0.9))))
+    (home-page "https://github.com/artichoke/rand_mt")
+    (synopsis "Reference Mersenne Twister random number generators")
+    (description "This package provides Reference Mersenne Twister random number
+generators.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rand-os-0.2
   (package
     (name "rust-rand-os")