[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/40: gnu: Add rust-rand-core-0.6.
From: |
guix-commits |
Subject: |
10/40: gnu: Add rust-rand-core-0.6. |
Date: |
Sat, 23 Jan 2021 19:33:22 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 2f3206f00eff57f9b8ffdd16034af3873c3969b8
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jan 24 00:10:44 2021 +0100
gnu: Add rust-rand-core-0.6.
* gnu/packages/crates-io.scm (rust-rand-core-0.6): New variable.
(rust-rand-core-0.5): Inherit from above.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
1 file changed, 26 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6e79c16..e5fee2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26436,8 +26436,33 @@ useful types and distributions, and some
randomness-related algorithms.")
#:cargo-development-inputs
(("rust-autocfg" ,rust-autocfg-0.1))))))
+(define-public rust-rand-core-0.6
+ (package
+ (name "rust-rand-core")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand_core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1rfjrcyaj7blz2nawv2pypm5kqc59p80n6f5pg691399iggxf9n0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://rust-random.github.io/book")
+ (synopsis "Core random number generator traits and tools")
+ (description
+ "This package provides core random number generator traits and
+tools for implementation.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rand-core-0.5
(package
+ (inherit rust-rand-core-0.6)
(name "rust-rand-core")
(version "0.5.1")
(source
@@ -26449,17 +26474,10 @@ useful types and distributions, and some
randomness-related algorithms.")
(sha256
(base32
"06bdvx08v3rkz451cm7z59xwwqn1rkfh6v9ay77b14f8dwlybgch"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-getrandom" ,rust-getrandom-0.1)
- ("rust-serde" ,rust-serde-1))))
- (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 (list license:expat license:asl2.0))))
+ ("rust-serde" ,rust-serde-1))))))
(define-public rust-rand-core-0.4
(package
- branch master updated (51bcc29 -> d94f753), guix-commits, 2021/01/23
- 02/40: gnu: Add rust-unic-ucd-version-0.9., guix-commits, 2021/01/23
- 03/40: gnu: Add rust-unic-char-range-0.9., guix-commits, 2021/01/23
- 01/40: gnu: Add rust-unic-common-0.9., guix-commits, 2021/01/23
- 05/40: gnu: Add rust-unic-ucd-segment-0.9., guix-commits, 2021/01/23
- 07/40: gnu: Add rust-deunicode-0.4., guix-commits, 2021/01/23
- 04/40: gnu: Add rust-unic-char-property-0.9., guix-commits, 2021/01/23
- 06/40: gnu: Add rust-unic-segment-0.9., guix-commits, 2021/01/23
- 08/40: gnu: Add rust-slug-0.1., guix-commits, 2021/01/23
- 09/40: gnu: Add rust-rand-hc-0.3., guix-commits, 2021/01/23
- 10/40: gnu: Add rust-rand-core-0.6.,
guix-commits <=
- 11/40: gnu: Add rust-rand-chacha-0.3., guix-commits, 2021/01/23
- 13/40: gnu: rust-globwalk-0.8: Update to 0.8.1., guix-commits, 2021/01/23
- 17/40: gnu: rust-yaml-rust-0.4: Update to 0.4.5., guix-commits, 2021/01/23
- 21/40: gnu: rust-serde-json-1: Update to 1.0.61., guix-commits, 2021/01/23
- 18/40: gnu: rust-unindent-0.1: Update to 0.1.7., guix-commits, 2021/01/23
- 20/40: gnu: rust-serde-yaml-0.8: Update to 0.8.15., guix-commits, 2021/01/23
- 22/40: gnu: rust-regex-syntax-0.6: Update to 0.6.22., guix-commits, 2021/01/23
- 23/40: gnu: rust-regex-1: Update to 1.4.3., guix-commits, 2021/01/23
- 26/40: gnu: rust-which-2: Remove minor version from variable name., guix-commits, 2021/01/23
- 27/40: gnu: Add rust-bindgen-0.47., guix-commits, 2021/01/23