summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-20 15:50:29 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-04 19:29:15 +0100
commit9effe707aef3945784a7a3141c78d995b9f5195b (patch)
treea009839c94bb7ee94d232dff1b22b5b7eab69f5e
parentcf5fdbf3cfe1d0d442417a1e85b4fd4f4edb65b3 (diff)
downloadguix-9effe707aef3945784a7a3141c78d995b9f5195b.tar.gz
gnu: Add rust-random-fast-rng-0.1.
* gnu/packages/crates-io.scm (rust-random-fast-rng-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 96819b6b77..b1edda5120 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24776,6 +24776,29 @@ random number generators.")
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.6))))))
 
+(define-public rust-random-fast-rng-0.1
+  (package
+    (name "rust-random-fast-rng")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "random-fast-rng" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18q577c8j2j9j044b5fnj1xw1lwkyjrkl3agzp3lvx3iln24wy4m"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-doc-comment" ,rust-doc-comment-0.3)
+        ("rust-random-trait" ,rust-random-trait-0.1))))
+    (home-page "https://github.com/elichai/random-rs")
+    (synopsis "Library for fast non cryptographic random number generator")
+    (description
+     "This package is a Rust library for fast non cryptographic random number
+generator.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-random-trait-0.1
   (package
     (name "rust-random-trait")