summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-20 15:54:57 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-04 19:29:15 +0100
commit4f4f2edd329e55d9ae1a5dbfa4cbe7e666f3ce55 (patch)
treea5ab30a62936859abc985177d77441f578b2e3fe
parent9effe707aef3945784a7a3141c78d995b9f5195b (diff)
downloadguix-4f4f2edd329e55d9ae1a5dbfa4cbe7e666f3ce55.tar.gz
gnu: Add rust-randomize-4.
* gnu/packages/crates-io.scm (rust-randomize-4): 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 b1edda5120..e542a77248 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24821,6 +24821,29 @@ generator.")
 random generic types.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-randomize-4
+  (package
+    (name "rust-randomize")
+    (version "4.0.0-alpha.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "randomize" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0m4vkgm161q51ww9bvf0kram9cxg8j3p80rl9w1fzpgkwcwbqhpm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #true
+       #:cargo-inputs
+       (("rust-getrandom" ,rust-getrandom-0.1))))
+    (home-page "https://github.com/Lokathor/randomize")
+    (synopsis "Minimalist randomization library")
+    (description
+     "This package provides a minimalist randomization library.")
+    (license
+     (list license:zlib license:asl2.0 license:expat))))
+
 (define-public rust-raw-cpuid-8
   (package
     (name "rust-raw-cpuid")