From 790c528525aa31839752ba3d59b1cc4c0e4c10de Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 20 Jan 2020 21:44:57 +0200 Subject: gnu: Add rust-rand-core-0.2. * gnu/packages/crates-io.scm (rust-rand-core-0.2): New variable. --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 54ac96045a..e096a77067 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8333,6 +8333,25 @@ useful types and distributions, and some randomness-related algorithms.") `(#:skip-build? #t #:cargo-inputs (("rand-core" ,rust-rand-core-0.4)))))) +(define-public rust-rand-core-0.2 + (package + (inherit rust-rand-core-0.5) + (name "rust-rand-core") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand-core" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wikbw2a36bz8ywjyycjrd7db6ra3yzj14zs1ysxz2fiqhia8q8r")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-rand-core" ,rust-rand-core-0.3)))))) + (define-public rust-rand-hc-0.2 (package (name "rust-rand-hc") -- cgit v1.2.3