From d7e32a4ba207ab38aa4af0dfdfad2bb0db294795 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 23 Mar 2023 08:29:56 +0100 Subject: [PATCH] gnu: Add rust-test-strategy-0.2. * gnu/packages/crates-io.scm (rust-test-strategy-0.2): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cffa3b1cae..cfefec2757 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -62519,6 +62519,34 @@ (define-public rust-test-generator-0.3 each resource matching the specific resource location pattern.") (license license:asl2.0))) +(define-public rust-test-strategy-0.2 + (package + (name "rust-test-strategy") + (version "0.2.1") + (source (origin + (method url-fetch) + (uri (crate-uri "test-strategy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "105lxqs0vnqff5821sgns8q1scvrwfx1yw6iz7i7nr862j6l1mk2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-structmeta" ,rust-structmeta-0.1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-proptest" ,rust-proptest-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/frozenlib/test-strategy") + (synopsis "Macro to write higher-order strategies in proptest") + (description + "This package provides a procedural macro to easily write higher-order +strategies in proptest.") + (license (list license:expat license:asl2.0)))) + (define-public rust-tester-0.9 (package (name "rust-tester")