Subject: bug#50367: closed (Re: [bug#50367] [PATCH 01/22] gnu: Add rust-mockall-derive-0.10.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 22 Sep 2021 15:01:02 +0000

Your bug report

#50367: [PATCH 01/22] gnu: Add rust-mockall-derive-0.10.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
50367: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50367
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#50367] [PATCH 01/22] gnu: Add rust-mockall-derive-0.10.
From: Nicolas Goaziou <[email-masked]>
To: phodina via Guix-patches via <[email-masked]>
Cc: [email-masked], phodina <[email-masked]>
Date: Wed, 22 Sep 2021 17:00:17 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

phodina via Guix-patches via <[email-masked]> writes:

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

All applied. I modified descriptions so they would contain full
sentences, and removed spurious newline characters.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH 01/22] gnu: Add rust-mockall-derive-0.10.
From: phodina <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Sat, 04 Sep 2021 07:03:01 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 677c6e8025..679d62cddd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27721,6 +27721,35 @@ 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 "Procedural macros for Mockall
+")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-mockito-0.23
   (package
     (name "rust-mockito")
--
2.32.0