mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 22:16:32 +01:00
gnu: Add rust-mockall-0.10.
* gnu/packages/crates-io.scm (rust-mockall-0.10): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
e204c63bc2
commit
59e7d340e7
1 changed files with 36 additions and 0 deletions
|
@ -27961,6 +27961,42 @@ (define-public rust-miow-0.2
|
|||
#:cargo-development-inputs
|
||||
(("rust-rand" ,rust-rand-0.3))))))
|
||||
|
||||
(define-public rust-mockall-0.10
|
||||
(package
|
||||
(name "rust-mockall")
|
||||
(version "0.10.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "mockall" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1h4s2bpkkm0zyd6mnc3718p0ysmcxyiwrjlk4hrawy7si8r73dba"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-cfg-if" ,rust-cfg-if-1)
|
||||
("rust-downcast" ,rust-downcast-0.10)
|
||||
("rust-fragile" ,rust-fragile-1)
|
||||
("rust-lazy-static" ,rust-lazy-static-1)
|
||||
("rust-mockall-derive" ,rust-mockall-derive-0.10)
|
||||
("rust-predicates" ,rust-predicates-1)
|
||||
("rust-predicates-tree" ,rust-predicates-tree-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-async-trait" ,rust-async-trait-0.1)
|
||||
("rust-futures" ,rust-futures-0.3)
|
||||
("rust-mockall-double" ,rust-mockall-double-0.2)
|
||||
("rust-serde" ,rust-serde-1)
|
||||
("rust-serde-derive" ,rust-serde-derive-1)
|
||||
("rust-serde-json" ,rust-serde-json-1)
|
||||
("rust-tracing" ,rust-tracing-0.1))))
|
||||
(home-page "https://github.com/asomers/mockall")
|
||||
(synopsis "Mock object library for Rust")
|
||||
(description "This package provides a powerful mock object library for
|
||||
Rust.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-mockall-derive-0.10
|
||||
(package
|
||||
(name "rust-mockall-derive")
|
||||
|
|
Loading…
Reference in a new issue