aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-29 14:28:00 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-29 15:05:25 +0300
commit4247954bbc28d83ece158c4732030d65fdf6b8a5 (patch)
tree301e9ea859ed259bee8e2c2e1ac3b2ee228b243f /gnu
parent21931d0f7d886d981ec71b14f9979055157b621e (diff)
downloadpatches-4247954bbc28d83ece158c4732030d65fdf6b8a5.tar
patches-4247954bbc28d83ece158c4732030d65fdf6b8a5.tar.gz
gnu: Add rust-fuchsia-cprng.
* gnu/packages/crates-io.scm (rust-fuchsia-cprng): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0bb1feb8f7..219bbe280a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -509,6 +509,27 @@ implementation that is more efficient for smaller hash keys.")
process and much more.")
(license license:expat)))
+(define-public rust-fuchsia-cprng
+ (package
+ (name "rust-fuchsia-cprng")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fuchsia-cprng" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1fnkqrbz7ixxzsb04bsz9p0zzazanma8znfdqjvh39n14vapfvx0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f)) ; tests require zircon
+ (home-page "https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng")
+ (synopsis "Fuchsia cryptographically secure pseudorandom number generator")
+ (description "Rust crate for the Fuchsia cryptographically secure
+pseudorandom number generator")
+ (license license:bsd-3)))
+
(define-public rust-fuchsia-zircon
(package
(name "rust-fuchsia-zircon")