Subject: [bug#49451] [PATCH 13/20] gnu: Add rust-mockall-derive

From: Xinglu Chen <[email-masked]>
Date: Sun, 01 Aug 2021 12:19:12 +0200

On Sun, Jul 11 2021, southerntofu via Guix-patches via wrote:

> ---
>  gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 5389f69934..2a9e477aaf 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -26740,6 +26740,36 @@ IOCP and Async I/O abstractions.")
>         #:cargo-development-inputs
>         (("rust-rand" ,rust-rand-0.3))))))
>  
> +
> +(define-public rust-mockall-derive-0.9
> +  (package
> +    (name "rust-mockall-derive")
> +    (version "0.9.1")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "mockall_derive" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "1snywdscj3chgs0xqr5700dsw2hy0qwd0s3kdk4nz85w6m327m2x"))))
> +    (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
> +")

No need for a newline.

> +    (description "Procedural macros for Mockall
> +")

Same as above, and use full sentence(s).