summary refs log tree commit diff
diff options
context:
space:
mode:
authorphodina <phodina@protonmail.com>2021-09-04 07:03:01 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-22 16:57:40 +0200
commit2182c8da02725ad87b99786fb89633e2dae05359 (patch)
treeec91e00a397cbf88dc94f41f0c281519d422340b
parentbd20d1781fda30a5a870ede521877f1c4f6f0047 (diff)
downloadguix-2182c8da02725ad87b99786fb89633e2dae05359.tar.gz
gnu: Add rust-mockall-derive-0.10.
* gnu/packages/crates-io.scm (rust-mockall-derive-0.10): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0ce1473f76..cfdab81ec3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27926,6 +27926,31 @@ IOCP and Async I/O abstractions.")
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.3))))))
 
+(define-public rust-mockall-derive-0.10
+  (package
+    (name "rust-mockall-derive")
+    (version "0.10.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mockall_derive" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cwhcfsc16b8p4yrsrxnhfxfdn0n89cmjja13wb6kxik8hhmpqp7"))))
+    (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 "Procedural macros for Mockall")
+    (description "This crate provides procedural macros for Mockall.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-mockito-0.23
   (package
     (name "rust-mockito")