[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/29: gnu: Add rust-quickcheck-1.
From: |
guix-commits |
Subject: |
27/29: gnu: Add rust-quickcheck-1. |
Date: |
Tue, 16 Feb 2021 17:37:18 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit d776b2efb7f65f881036ecdeec0ca5e3b0c9690c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Feb 16 23:05:28 2021 +0100
gnu: Add rust-quickcheck-1.
* gnu/packages/crates-io.scm (rust-quickcheck-1): New variable.
(rust-quickcheck-0.9): Inherit from above.
---
gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++---------
1 file changed, 28 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dd73ed1..1279682 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29943,8 +29943,35 @@ to write.")
("rust-log" ,rust-log-0.4)
("rust-memchr" ,rust-memchr-2))))))
+(define-public rust-quickcheck-1
+ (package
+ (name "rust-quickcheck")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "quickcheck" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mjhkfqwrb8mdyxdqr4zzbj1rm5dfx25n9zcc25lb6fxwiw673sq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-env-logger" ,rust-env-logger-0.8)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/BurntSushi/quickcheck")
+ (synopsis "Automatic property based testing with shrinking")
+ (description
+ "QuickCheck is a way to do property based testing using randomly generated
+input. This crate comes with the ability to randomly generate and shrink
+integers, floats, tuples, booleans, lists, strings, options and results.")
+ (license (list license:unlicense license:expat))))
+
(define-public rust-quickcheck-0.9
(package
+ (inherit rust-quickcheck-1)
(name "rust-quickcheck")
(version "0.9.2")
(source
@@ -29956,20 +29983,12 @@ to write.")
(sha256
(base32
"0pwl7j21wmf843kpa9gr0byb40hg975ghjrwp0yxcym99bkq6j54"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-env-logger" ,rust-env-logger-0.7)
("rust-log" ,rust-log-0.4)
("rust-rand" ,rust-rand-0.7)
- ("rust-rand-core" ,rust-rand-core-0.5))))
- (home-page "https://github.com/BurntSushi/quickcheck")
- (synopsis "Automatic property based testing with shrinking")
- (description
- "QuickCheck is a way to do property based testing using randomly generated
-input. This crate comes with the ability to randomly generate and shrink
-integers, floats, tuples, booleans, lists, strings, options and results.")
- (license (list license:unlicense license:expat))))
+ ("rust-rand-core" ,rust-rand-core-0.5))))))
(define-public rust-quickcheck-0.8
(package
- 22/29: gnu: Add rust-serde-fmt-1., (continued)
- 22/29: gnu: Add rust-serde-fmt-1., guix-commits, 2021/02/16
- 14/29: gnu: rust-num-integer-0.1: Update to 0.1.44., guix-commits, 2021/02/16
- 16/29: gnu: rust-syn-1: Update to 1.0.60., guix-commits, 2021/02/16
- 11/29: gnu: Add rust-users-0.11., guix-commits, 2021/02/16
- 24/29: gnu: Add rust-sval-derive-1., guix-commits, 2021/02/16
- 20/29: gnu: Add rust-calamine-0.17., guix-commits, 2021/02/16
- 21/29: gnu: rust-bytes-1: Update to 1.0.1., guix-commits, 2021/02/16
- 23/29: gnu: Add rust-value-bag-1., guix-commits, 2021/02/16
- 25/29: gnu: Add rust-sval-1., guix-commits, 2021/02/16
- 26/29: gnu: rust-log-0.4: Update to 0.4.14., guix-commits, 2021/02/16
- 27/29: gnu: Add rust-quickcheck-1.,
guix-commits <=
- 29/29: gnu: nushell: Update to 0.27.0., guix-commits, 2021/02/16
- 28/29: gnu: Add rust-quickcheck-macros-1., guix-commits, 2021/02/16