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>
This commit is contained in:
parent
2157c6dde4
commit
04d0286735
1 changed files with 40 additions and 8 deletions
|
@ -65911,8 +65911,47 @@ and table-based tests.")
|
||||||
(base32
|
(base32
|
||||||
"0f3wdwfhf4dh7yf49cmi0r40qnwi4gwrqdki1bffyxvr2ny4ii6y"))))))
|
"0f3wdwfhf4dh7yf49cmi0r40qnwi4gwrqdki1bffyxvr2ny4ii6y"))))))
|
||||||
|
|
||||||
|
(define-public rust-rstest-macros-0.18
|
||||||
|
(package
|
||||||
|
(name "rust-rstest-macros")
|
||||||
|
(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 "01g6rg60snmscipc9xiili7nsn0v25sv64713gp99y2jg0jgha6l"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#: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-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}.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-rstest-macros-0.17
|
(define-public rust-rstest-macros-0.17
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-rstest-macros-0.18)
|
||||||
(name "rust-rstest-macros")
|
(name "rust-rstest-macros")
|
||||||
(version "0.17.0")
|
(version "0.17.0")
|
||||||
(source
|
(source
|
||||||
|
@ -65922,7 +65961,6 @@ and table-based tests.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1a7w30h0g88v40p938skcbngsm6x6pf49gc369ydnznar2hs2319"))))
|
(base32 "1a7w30h0g88v40p938skcbngsm6x6pf49gc369ydnznar2hs2319"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t ; requires rust-artix-rt@2.7.0
|
`(#:skip-build? #t ; requires rust-artix-rt@2.7.0
|
||||||
#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
|
#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
|
||||||
|
@ -65930,13 +65968,7 @@ and table-based tests.")
|
||||||
("rust-quote" ,rust-quote-1)
|
("rust-quote" ,rust-quote-1)
|
||||||
("rust-rustc-version" ,rust-rustc-version-0.4)
|
("rust-rustc-version" ,rust-rustc-version-0.4)
|
||||||
("rust-syn" ,rust-syn-1)
|
("rust-syn" ,rust-syn-1)
|
||||||
("rust-unicode-ident" ,rust-unicode-ident-1))))
|
("rust-unicode-ident" ,rust-unicode-ident-1))))))
|
||||||
(home-page "https://github.com/la10736/rstest")
|
|
||||||
(synopsis "Procedural macros for @code{rstest}.")
|
|
||||||
(description
|
|
||||||
"This package provides the procedural macro crate for
|
|
||||||
@code{rstest}.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-rstest-macros-0.16
|
(define-public rust-rstest-macros-0.16
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue