diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-08-02 20:04:43 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:38:19 +0300 |
commit | 6c107cdc72776fddf0c0fdebfa9bffec6b8e08df (patch) | |
tree | 2f0a0eeff655bd287b4cf02c33eb380a7c565296 | |
parent | 3c8c38ed14efaf8929f84bc98ac977f896e74833 (diff) |
gnu: Add rust-test-case-macros-3.
* gnu/packages/crates-io.scm (rust-test-case-macros-3): New variable.
(rust-test-case-macros-2): Inherit from rust-test-case-macros-3.
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7a7fcd66b2..63dd13099b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -67251,24 +67251,25 @@ 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-macros-2 +(define-public rust-test-case-macros-3 (package (name "rust-test-case-macros") - (version "2.2.2") + (version "3.1.0") (source (origin (method url-fetch) (uri (crate-uri "test-case-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "09jvbfvz48v6ya3i25gp3lbr6ym1fz7qyp3l6bcdslwkw7v7nnz4")))) + (base32 + "014l5wafp069d251c62flwyai8nv75vpjlmib2xc2m3a3i5s9fgf")))) (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-macro-error" ,rust-proc-macro-error-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + ("rust-syn" ,rust-syn-1) + ("rust-test-case-core" ,rust-test-case-core-3)))) (home-page "https://github.com/frondeus/test-case") (synopsis "Macros for the test-case crate") (description @@ -67276,6 +67277,25 @@ into mod, giving clear and readable test results.") generating parametrized test cases easily.") (license license:expat))) +(define-public rust-test-case-macros-2 + (package + (inherit rust-test-case-macros-3) + (name "rust-test-case-macros") + (version "2.2.2") + (source (origin + (method url-fetch) + (uri (crate-uri "test-case-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09jvbfvz48v6ya3i25gp3lbr6ym1fz7qyp3l6bcdslwkw7v7nnz4")))) + (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)))))) + (define-public rust-test-cert-gen-0.7 (package (name "rust-test-cert-gen") |