aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/rust-cbindgen.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:00:05 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:43:58 +0300
commit847172e44f501a0537a682473c2fa8727b10879d (patch)
tree71a9247eb813c67044b7a70e4572aaaf6dc7b074 /gnu/packages/rust-cbindgen.scm
parent308480c3d6eeada2f0d2ff3648acb4b204748dfc (diff)
downloadpatches-847172e44f501a0537a682473c2fa8727b10879d.tar
patches-847172e44f501a0537a682473c2fa8727b10879d.tar.gz
gnu: Add rust-rdrand-0.4.
* gnu/packages/rust-cbindgen.scm (rust-rdrand-0.4): New hidden variable.
Diffstat (limited to 'gnu/packages/rust-cbindgen.scm')
-rw-r--r--gnu/packages/rust-cbindgen.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index c259a7317b..3ffa3f6d48 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -525,3 +525,24 @@ functionality.")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
+
+(define rust-rdrand-0.4
+ (package
+ (name "rust-rdrand")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rdrand" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "1cjq0kwx1bk7jx3kzyciiish5gqsj7620dm43dc52sr8fzmm9037"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/nagisa/rust_rdrand/")
+ (synopsis "Random number generator")
+ (description
+ "This package is an implementation of random number generator based on
+@code{rdrand} and @cpde{rdseed} instructions")
+ (properties '((hidden? . #t)))
+ (license license:isc)))