Subject: [PATCH v2 18/49] gnu: Add rust-mockall-0.13.

From: Jordan Moore <[email-masked]>
Date: Sat, 30 Nov 2024 11:54:53 -0500

* gnu/packages/crates-io.scm (rust-mockall-0.13): New variable.

Change-Id: Ice060fc49e273544af75641c6f3c4ca913e4bf78
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e60663ca23..53e50167d0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45958,6 +45958,39 @@ (define-public rust-mock-instant-0.2
     (arguments
      `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))))
 
+(define-public rust-mockall-0.13
+  (package
+    (name "rust-mockall")
+    (version "0.13.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mockall" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lir70dd9cnsjlf20gi3i51ha9n7mlrkx74bx5gfszlcdk6bz9ir"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-downcast" ,rust-downcast-0.11)
+                       ("rust-fragile" ,rust-fragile-2)
+                       ("rust-mockall-derive" ,rust-mockall-derive-0.13)
+                       ("rust-predicates" ,rust-predicates-3)
+                       ("rust-predicates-tree" ,rust-predicates-tree-1))
+       #:cargo-development-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+                                   ("rust-auto-enums" ,rust-auto-enums-0.8)
+                                   ("rust-futures" ,rust-futures-0.3)
+                                   ("rust-mockall-double" ,rust-mockall-double-0.3)
+                                   ("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 "powerful 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-0.11
   (package
     (name "rust-mockall")
-- 
2.46.0