diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-08-02 20:14:18 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:38:21 +0300 |
commit | 9c34534126448e50548c3db67718911539475244 (patch) | |
tree | d21c8ba84af8844ccec20cfb917f4d05e13110ea | |
parent | 38d2b63d2cdccd04dffba1565373a60cb6a04d8a (diff) |
gnu: Add rust-test-with-0.8.
* gnu/packages/crates-io.scm (rust-test-with-0.8): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f200dbac17..fea595ad40 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -67406,6 +67406,42 @@ logging and/or tracing infrastructure before running tests.") strategies in proptest.") (license (list license:expat license:asl2.0)))) +(define-public rust-test-with-0.8 + (package + (name "rust-test-with") + (version "0.8.1") + (source (origin + (method url-fetch) + (uri (crate-uri "test-with" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vaqbyixd8li4jb9akvrbc6yfm0kl435byggg0kghrdl32hpn6ay")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byte-unit" ,rust-byte-unit-4) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-ping" ,rust-ping-0.4) + ("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-syn" ,rust-syn-1) + ("rust-sysinfo" ,rust-sysinfo-0.27) + ("rust-users" ,rust-users-0.11)) + #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))) + (native-inputs + (list pkg-config)) + (inputs + (list openssl)) + (home-page "https://github.com/yanganto/test-with") + (synopsis "Run test with conditions") + (description + "This package provides a lib to help you run test with conditions in Rust.") + (license license:expat))) + (define-public rust-tester-0.9 (package (name "rust-tester") |