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 | e2a663816725cca203123bf0dd8777804140d98c (patch) | |
tree | 4237713c04413fa51758500f470cc61ceb8f1a91 | |
parent | 9c34534126448e50548c3db67718911539475244 (diff) | |
download | guix-e2a663816725cca203123bf0dd8777804140d98c.tar.gz |
gnu: Add rust-test-case-core-3.
* gnu/packages/crates-io.scm (rust-test-case-core-3): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fea595ad40..05192cb324 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -67251,6 +67251,32 @@ into mod, giving clear and readable test results.") (("rust-insta" ,rust-insta-0.12) ("rust-lazy-static" ,rust-lazy-static-1)))))) +(define-public rust-test-case-core-3 + (package + (name "rust-test-case-core") + (version "3.1.0") + (source (origin + (method url-fetch) + (uri (crate-uri "test-case-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vhckjjw4w1kaanhgy6bw8kdr8ligr68bz5nfbvr8xz2s7ar80yi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/frondeus/test-case") + (synopsis "Core functionality for the test-case crate") + (description + "This package provides core functionality for parsing #[test_case(...)] +procedural macro attribute for generating parametrized test cases easily") + (license license:expat))) + (define-public rust-test-case-macros-3 (package (name "rust-test-case-macros") |