diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-03-23 08:29:56 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:30 +0300 |
commit | d7e32a4ba207ab38aa4af0dfdfad2bb0db294795 (patch) | |
tree | 6cb844ce91896efb4797bae14a67bec2f774d5ca /gnu/packages | |
parent | a3b81c1a82ff75c7d8987f238295ff6d0d7e39a1 (diff) | |
download | guix-d7e32a4ba207ab38aa4af0dfdfad2bb0db294795.tar.gz |
gnu: Add rust-test-strategy-0.2.
* gnu/packages/crates-io.scm (rust-test-strategy-0.2): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
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 @@ one body with different resource input parameters. A test is generated for 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") |