From 7472fe2082a0da27e4a864fb8bbc3e373a92e9aa Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 08:54:49 -0800 Subject: gnu: Add rust-proptest-0.9. * gnu/packages/crates-io.scm (rust-proptest-0.9): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bab91a1afe..7bc457472e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5630,6 +5630,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 (list license:asl2.0 license:expat)))) + (define-public rust-quick-error-1.2 (package (name "rust-quick-error") -- cgit v1.2.3