From eba1185848d824eb882a9b5eb1e1596fe73c18b3 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 08:54:49 -0800 Subject: [PATCH 174/263] gnu: Add rust-proptest-0.9. * gnu/packages/crates-io.scm (rust-proptest-0.9): New variable. --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 43e49f0c70..c7a1a44887 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5748,6 +5748,45 @@ in terms of the upstream unstable API.") (base32 "0nd71fl24sys066jrha6j7i34nfkjv44yzw8yww9742wmc8j0gfg")))))) +(define-public rust-proptest-0.9 + (package + (name "rust-proptest") + (version "0.9.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "proptest" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17sjg8isas4qk85807c4panih9k0lwa4k1mbajhciw5c5q17w56g")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bit-set" ,rust-bit-set-0.5) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1.3) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-quick-error" ,rust-quick-error-1.2) + ("rust-rand" ,rust-rand-0.4) + ("rust-rand-chacha" ,rust-rand-chacha-0.2) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.2) + ("rust-regex-syntax" ,rust-regex-syntax-0.6) + ("rust-rusty-fork" ,rust-rusty-fork-0.2) + ("rust-tempfile" ,rust-tempfile-3.0)) + #:cargo-development-inputs + (("rust-regex" ,rust-regex-1.1)))) + (home-page + "https://altsysrq.github.io/proptest-book/proptest/index.html") + (synopsis + "Hypothesis-like property-based testing and shrinking") + (description + "Hypothesis-like property-based testing and shrinking.") + (license `(,license:asl2.0 ,license:expat)))) + (define-public rust-quick-error-1.2 (package (name "rust-quick-error") -- 2.24.1