summary refs log tree commit diff
diff options
context:
space:
mode:
authorphodina <phodina@protonmail.com>2021-09-21 21:17:43 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-22 16:57:46 +0200
commitcb72b4f1b6bf86e0943c1561ca80112b73692ac9 (patch)
tree60059f54110560805494f5289456bf4764dbd178
parent10e5c073f1f27fd63c5d4062d49b2ceca8dd5ca6 (diff)
downloadguix-cb72b4f1b6bf86e0943c1561ca80112b73692ac9.tar.gz
gnu: Add rust-mockall-double-0.2.
* gnu/packages/crates-io.scm (rust-mockall-double-0.2): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
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")