diff options
author | phodina <phodina@protonmail.com> | 2021-09-04 07:27:41 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-09-22 16:57:47 +0200 |
commit | 59e7d340e774a4906a5fc850e65527fe3aa0b752 (patch) | |
tree | f47f5e452ddeee1324de8cbb5df17fbedaf7e585 /gnu/packages/crates-io.scm | |
parent | e204c63bc2031120363db2624bbf82b9d42e06e5 (diff) | |
download | guix-59e7d340e774a4906a5fc850e65527fe3aa0b752.tar.gz |
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>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6d47ee18f3..38d9b75741 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27961,6 +27961,42 @@ IOCP and Async I/O abstractions.") #: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") |