From 4bdc732a4730a84c71da4ecf0264b54e8a48af1c Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 22:44:11 -0800 Subject: [PATCH 017/263] gnu: Add rust-rand-core-0.5. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 18ac09405c..667e871b4b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2985,6 +2985,33 @@ useful types and distributions, and some randomness-related algorithms.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rand-core-0.5 + (package + (name "rust-rand-core") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_core" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jis94x9ri8xlxki2w2w5k29sjpfwgzkjylg7paganp74hrnhpk1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-getrandom" ,rust-getrandom-0.1) + ("rust-serde" ,rust-serde-1.0) + ("rust-serde-derive" ,rust-serde-derive-1.0)))) + (home-page "https://crates.io/crates/rand_core") + (synopsis + "Core random number generator traits and tools for implementation") + (description + "Core random number generator traits and tools for implementation.") + (license `(,license:expat ,license:asl2.0)))) + (define-public rust-rand-core-0.4 (package (name "rust-rand-core") -- 2.24.1