From cb72b4f1b6bf86e0943c1561ca80112b73692ac9 Mon Sep 17 00:00:00 2001 From: phodina Date: Tue, 21 Sep 2021 21:17:43 +0200 Subject: gnu: Add rust-mockall-double-0.2. * gnu/packages/crates-io.scm (rust-mockall-double-0.2): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 20fa0ad0b3..90f4b7d67b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27986,6 +27986,30 @@ IOCP and Async I/O abstractions.") (description "This crate provides procedural macros for Mockall.") (license (list license:expat license:asl2.0)))) +(define-public rust-mockall-double-0.2 + (package + (name "rust-mockall-double") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "mockall_double" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ib7ahq98ah13i69ypx6wrkc3ksmjw3jkmh0s2qi7dxj6j6vf99y")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/asomers/mockall") + (synopsis "Test double adapter for Mockall") + (description "This crate tests double adapter for Mockall.") + (license (list license:expat license:asl2.0)))) + (define-public rust-mockito-0.23 (package (name "rust-mockito") -- cgit v1.2.3