Subject: [bug#74551] [PATCH rust-team v3 43/73] gnu: Add rust-mockall-derive-0.13.

From: Aaron Covrig <[email-masked]>
Date: Mon, 2 Dec 2024 22:00:23 -0500

From: Jordan Moore <[email-masked]>

* gnu/packages/crates-io.scm (rust-mockall-derive-0.13): New variable.
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 905ecff639..d5954f2677 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46118,8 +46118,32 @@ (define-public rust-mockall-0.11
      "Mockall is a rich mocking library with a terse and ergonomic interface.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-mockall-derive-0.13
+  (package
+    (name "rust-mockall-derive")
+    (version "0.13.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mockall_derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1608qajqrz23xbvv81alc6wm4l24as1bsqg4shdh3sggq8231ji5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#: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-2))
+       #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1))))
+    (home-page "https://github.com/asomers/mockall")
+    (synopsis "Procedural macros for Mockall")
+    (description "This package provides Procedural macros for Mockall.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-mockall-derive-0.11
   (package
+    (inherit rust-mockall-derive-0.13)
     (name "rust-mockall-derive")
     (version "0.11.4")
     (source (origin
@@ -46129,7 +46153,6 @@ (define-public rust-mockall-derive-0.11
               (sha256
                (base32
                 "1fvc9kwjcc9ia6ng7z9z02b4qkl9dvsx9m4z51xz9i0mj1k7bki2"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-cfg-if" ,rust-cfg-if-1)
@@ -46137,12 +46160,7 @@ (define-public rust-mockall-derive-0.11
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))
        #:cargo-development-inputs
-       (("rust-pretty-assertions" ,rust-pretty-assertions-1))))
-    (home-page "https://github.com/asomers/mockall")
-    (synopsis "Procedural macros for the Mockall crate")
-    (description
-     "This package procides procedural macros for the Mockall crate.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-pretty-assertions" ,rust-pretty-assertions-1))))))
 
 (define-public rust-mockall-double-0.3
   (package
-- 
2.47.0