mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 02:07:56 +01:00
gnu: Add rust-test-case-macros-2.
* gnu/packages/crates-io.scm (rust-test-case-macros-2): New variable.
This commit is contained in:
parent
1b36364c70
commit
a54ba2322e
1 changed files with 25 additions and 0 deletions
|
@ -61693,6 +61693,31 @@ (define-public rust-test-case-1
|
|||
(("rust-insta" ,rust-insta-0.12)
|
||||
("rust-lazy-static" ,rust-lazy-static-1))))))
|
||||
|
||||
(define-public rust-test-case-macros-2
|
||||
(package
|
||||
(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"))))
|
||||
(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 "Macros for the test-case crate")
|
||||
(description
|
||||
"This package provides #[test_case(...)] procedural macro attribute for
|
||||
generating parametrized test cases easily.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-test-cert-gen-0.7
|
||||
(package
|
||||
(name "rust-test-cert-gen")
|
||||
|
|
Loading…
Reference in a new issue