diff options
author | Jaeme Sifat <jaeme@runbox.com> | 2023-12-19 22:54:44 -0500 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:45 +0200 |
commit | 04d0286735e3490691eb38d598b92e9d87daa00b (patch) | |
tree | a78841e65acd8b1734887439ad5a3dc0aaa85430 /gnu/packages | |
parent | 2157c6dde49f76c403c1994b761e29d68fa25b93 (diff) | |
download | guix-04d0286735e3490691eb38d598b92e9d87daa00b.tar.gz |
gnu: Add rust-rstest-macros-0.18.
* gnu/packages/crates-io.scm (rust-rstest-macros-0.18): New variable. (rust-rstest-macros-0.17): Inherit from rust-rstest-macros-0.18. Change-Id: I3dad2b73c27a4cf575698ca9e32715718667be81 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 48 |
1 files changed, 40 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ee25add039..236c48bd43 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -65911,33 +65911,65 @@ and table-based tests.") (base32 "0f3wdwfhf4dh7yf49cmi0r40qnwi4gwrqdki1bffyxvr2ny4ii6y")))))) -(define-public rust-rstest-macros-0.17 +(define-public rust-rstest-macros-0.18 (package (name "rust-rstest-macros") - (version "0.17.0") + (version "0.18.2") (source (origin (method url-fetch) (uri (crate-uri "rstest_macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1a7w30h0g88v40p938skcbngsm6x6pf49gc369ydnznar2hs2319")))) + (base32 "01g6rg60snmscipc9xiili7nsn0v25sv64713gp99y2jg0jgha6l")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t ; requires rust-artix-rt@2.7.0 + `(#:cargo-test-flags '("--release" "--" + "--skip=rstest") #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-glob" ,rust-glob-0.3) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-relative-path" ,rust-relative-path-1) ("rust-rustc-version" ,rust-rustc-version-0.4) - ("rust-syn" ,rust-syn-1) - ("rust-unicode-ident" ,rust-unicode-ident-1)))) + ("rust-syn" ,rust-syn-2) + ("rust-unicode-ident" ,rust-unicode-ident-1)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-maplit" ,rust-maplit-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-rstest-reuse" ,rust-rstest-reuse-0.6) + ("rust-rstest-test" ,rust-rstest-test-0.11)))) (home-page "https://github.com/la10736/rstest") (synopsis "Procedural macros for @code{rstest}.") (description - "This package provides the procedural macro crate for -@code{rstest}.") + "This package provides the procedural macro crate for @code{rstest}.") (license (list license:expat license:asl2.0)))) +(define-public rust-rstest-macros-0.17 + (package + (inherit rust-rstest-macros-0.18) + (name "rust-rstest-macros") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a7w30h0g88v40p938skcbngsm6x6pf49gc369ydnznar2hs2319")))) + (arguments + `(#:skip-build? #t ; requires rust-artix-rt@2.7.0 + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-syn" ,rust-syn-1) + ("rust-unicode-ident" ,rust-unicode-ident-1)))))) + (define-public rust-rstest-macros-0.16 (package (inherit rust-rstest-macros-0.17) |