[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/54: gnu: Add rust-rand-distr-0.3.
From: |
guix-commits |
Subject: |
14/54: gnu: Add rust-rand-distr-0.3. |
Date: |
Wed, 16 Jun 2021 06:55:05 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit f94ded6aab17346407ef929300be7eec64c5dbe1
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Jun 15 12:50:54 2021 +0200
gnu: Add rust-rand-distr-0.3.
* gnu/packages/crates-io.scm (rust-rand-distr-0.3): New variable.
(rust-rand-distr-0.2): Inherit from above.
---
gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++++++++-------
1 file changed, 28 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b94f851..4f3a29f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34014,8 +34014,35 @@ tools for implementation.")
#:cargo-inputs
(("rust-rand-core" ,rust-rand-core-0.3))))))
+(define-public rust-rand-distr-0.3
+ (package
+ (name "rust-rand-distr")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand-distr" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mlxzzzbwpxxnvy79w0kb332r6vcw38jiglx5s5zna9rv8m57sf9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-rand" ,rust-rand-0.7))
+ #:cargo-development-inputs
+ (("rust-average" ,rust-average-0.10)
+ ("rust-rand-pcg" ,rust-rand-pcg-0.2))))
+ (home-page "https://crates.io/crates/rand_distr")
+ (synopsis "Sampling from random number distributions")
+ (description
+ "Sampling from random number distributions.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rand-distr-0.2
(package
+ (inherit rust-rand-distr-0.3)
(name "rust-rand-distr")
(version "0.2.2")
(source
@@ -34027,18 +34054,12 @@ tools for implementation.")
(sha256
(base32
"1cpz577qid09lirjjhhn98yqdwsv0c01jf973pxpcr9svp5pm5wn"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-rand" ,rust-rand-0.7))
#:cargo-development-inputs
(("rust-average" ,rust-average-0.10)
- ("rust-rand-pcg" ,rust-rand-pcg-0.2))))
- (home-page "https://crates.io/crates/rand_distr")
- (synopsis "Sampling from random number distributions")
- (description
- "Sampling from random number distributions.")
- (license (list license:expat license:asl2.0))))
+ ("rust-rand-pcg" ,rust-rand-pcg-0.2))))))
(define-public rust-rand-hc-0.3
(package
- 19/54: gnu: Add rust-zstd-0.8., (continued)
- 19/54: gnu: Add rust-zstd-0.8., guix-commits, 2021/06/16
- 11/54: gnu: Add rust-lexical-5., guix-commits, 2021/06/16
- 24/54: gnu: Add rust-lz4-1., guix-commits, 2021/06/16
- 15/54: gnu: Add rust-shlex-1., guix-commits, 2021/06/16
- 17/54: gnu: rust-zstd-sys-1: Update to 1.6.0+zstd.1.5.0., guix-commits, 2021/06/16
- 26/54: gnu: Add rust-tiny-keccak-2., guix-commits, 2021/06/16
- 28/54: gnu: rust-const-random-0.1: Update to 0.1.13., guix-commits, 2021/06/16
- 32/54: gnu: Add rust-hashlink-0.7., guix-commits, 2021/06/16
- 39/54: gnu: Add rust-flatbuffers-0.8., guix-commits, 2021/06/16
- 01/54: gnu: rust-nipper-0.1: Update to 0.1.9., guix-commits, 2021/06/16
- 14/54: gnu: Add rust-rand-distr-0.3.,
guix-commits <=
- 13/54: gnu: Add rust-unsafe-unwrap-0.1., guix-commits, 2021/06/16
- 18/54: gnu: Add rust-zstd-safe-4., guix-commits, 2021/06/16
- 22/54: gnu: Add rust-parquet-format-2., guix-commits, 2021/06/16
- 23/54: gnu: Add rust-lz4-sys-1., guix-commits, 2021/06/16
- 20/54: gnu: Add rust-integer-encoding-1., guix-commits, 2021/06/16
- 25/54: gnu: Add rust-crunchy-0.2., guix-commits, 2021/06/16
- 27/54: gnu: rust-const-random-macro-0.1: Update to 0.1.13., guix-commits, 2021/06/16
- 30/54: gnu: rust-bumpalo-3: Update to 3.7.0., guix-commits, 2021/06/16
- 33/54: gnu: Add rust-rusqlite-0.25., guix-commits, 2021/06/16
- 35/54: gnu: Add rust-num-complex-0.4., guix-commits, 2021/06/16