[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/12] gnu: Add rust-rand.
From: |
David Craven |
Subject: |
[PATCH 11/12] gnu: Add rust-rand. |
Date: |
Sun, 11 Dec 2016 18:25:36 +0100 |
* gnu/packages/rust.scm (rust-rand): New variable.
---
gnu/packages/rust.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index acff15e6f..a64f72f03 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -289,3 +289,22 @@ fast, prevents segfaults, and guarantees thread safety.")
(description "This package provides a library for types and bindings to
native C functions often found in libc or other common platform libraries.")
(license (list license:expat license:asl2.0))))
+
+(define-public rust-rand
+ (package
+ (name "rust-rand")
+ (version "0.3.15")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "rand" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "178qgglinqawwsw6l8imgnplxkmxcj404jqm92pds695xhv0cbh2"))))
+ (build-system cargo-build-system)
+ (inputs
+ `(("rust-libc" ,rust-libc)))
+ (home-page "https://github.com/rust-lang/rand")
+ (synopsis "Random number generators")
+ (description "Random number generators and other randomness
functionality.")
+ (license (list license:expat license:asl2.0))))
--
2.11.0
- [PATCH 06/12] gnu: llvm: Enable install utils., (continued)
- [PATCH 06/12] gnu: llvm: Enable install utils., David Craven, 2016/12/11
- [PATCH 04/12] import: Add importer for rust crates., David Craven, 2016/12/11
- [PATCH 08/12] gnu: Add rustc., David Craven, 2016/12/11
- [PATCH 09/12] gnu: Add rust-libc., David Craven, 2016/12/11
- [PATCH 07/12] gnu: Add rust bootstrap binaries., David Craven, 2016/12/11
- [PATCH 11/12] gnu: Add rust-rand.,
David Craven <=
- [PATCH 10/12] RECURSIVE IMPORTER wip, David Craven, 2016/12/11
- [PATCH 12/12] gnu: Add cargo., David Craven, 2016/12/11