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:
phodina 2021-09-04 07:27:41 +00:00 committed by Nicolas Goaziou
parent e204c63bc2
commit 59e7d340e7
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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")