summary refs log tree commit diff
diff options
context:
space:
mode:
authorZheng junjie <873216071@qq.com>2021-06-11 21:33:09 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-13 19:14:09 +0200
commitdfce19156c1a88e18824a3952cd81ed6a6425a9f (patch)
treec77d935e7dd8dfd5a7bdc93f66f7bcfdc5212de9
parent0f118c51eb90569a4cb0a680c59800084b1419a9 (diff)
downloadguix-dfce19156c1a88e18824a3952cd81ed6a6425a9f.tar.gz
gnu: Add rust-randomize-3.
* gnu/packages/crates-io.scm (rust-randomize-3): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-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 0fbf318a4a..6fb9a362da 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34125,6 +34125,29 @@ random generic types.")
     (license
      (list license:zlib license:asl2.0 license:expat))))
 
+(define-public rust-randomize-3
+  (package
+    (inherit rust-randomize-4)
+    (name "rust-randomize")
+    (version "3.0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "randomize" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "02ll7r3rrpmhjx34w91m1yvqw1685bq2n9amqvycjcqznncqrhw8"))))
+    (arguments
+      `(#:skip-build? #t
+        #:cargo-inputs
+        (("rust-rand-core" ,rust-rand-core-0.5)
+         ("rust-serde" ,rust-serde-1))
+        #:cargo-development-inputs
+        (("rust-bincode" ,rust-bincode-1))))
+    (license license:bsd-0)))
+
 (define-public rust-raw-cpuid-8
   (package
     (name "rust-raw-cpuid")