aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-05 16:32:38 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-06 15:45:57 +0300
commit2f8e436a29d9a64828d23c79e80d2c563fc3ca19 (patch)
treecfdb4ac268bdf504511a693e231875e7090d6685 /gnu
parent5ef82ec8baff1e4f172b0cfbe46298547c47cef3 (diff)
downloadpatches-2f8e436a29d9a64828d23c79e80d2c563fc3ca19.tar
patches-2f8e436a29d9a64828d23c79e80d2c563fc3ca19.tar.gz
gnu: Add rust-rand-0.3.
* gnu/packages/crates-io.scm (rust-rand-0.3): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0ad3de9921..8fb2f87da8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1540,6 +1540,24 @@ useful types and distributions, and some randomness-related algorithms.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-rand-0.3
+ (package
+ (inherit rust-rand)
+ (name "rust-rand")
+ (version "0.3.23")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0v679h38pjjqj5h4md7v2slsvj6686qgcn7p9fbw3h43iwnk1b34"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc)
+ ("rust-rand" ,rust-rand))))))
+
(define-public rust-rawpointer
(package
(name "rust-rawpointer")