guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#74551] [PATCH v2 19/49] gnu: Add rust-mockall-derive-0.13.


From: Jordan Moore
Subject: [bug#74551] [PATCH v2 19/49] gnu: Add rust-mockall-derive-0.13.
Date: Sat, 30 Nov 2024 11:54:54 -0500

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 53e50167d0..d6b340a4e1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46027,6 +46027,29 @@ (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
     (name "rust-mockall-derive")
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]