Message ID | NobFwvPIrMv1lPM-QWvhmILR13j0mZEsK8EZ8i3kRcY9Jz4wENH9efUy2N96KWfIHRmDj1BHMSImooeGAsNEEog-oyjEXUs3DYe9PbCDVtY=@protonmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [bug#50367,01/22] gnu: Add rust-mockall-derive-0.10. | expand |
Context | Check | Description |
---|---|---|
cbaines/applying patch | fail | View Laminar job |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | View Laminar job |
cbaines/issue | success | View issue |
Hello,
phodina via Guix-patches via <guix-patches@gnu.org> 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,
On Wednesday, September 22nd, 2021 at 5:00 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote: > Hello, > > phodina via Guix-patches via guix-patches@gnu.org 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 Hi Nicolas, thank you for the review and upstream of the patches. I've added the synopsis, descriptions and newlines to checklist to submit next time patches without these novice mistakes. Petr
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")