Subject: Re: [bug#50368] [PATCH 3/9] gnu: rust-base64-0.13: Fix inputs.

From: Xinglu Chen <[email-masked]>
Date: Sat, 04 Sep 2021 21:13:59 +0200

On Sat, Sep 04 2021, phodina via Guix-patches via wrote:

>     * gnu/packages/crates-io.scm
>       (rust-base64-0.13)[cargo-development-inputs]: Substitute rust-criterion version 0.3.2 to 0.3.3.

It should be [arguments]<#:phases>.  Please keep lines to <80 characters long.

> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 2cd07b513c..3bcd20b9be 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -4110,7 +4110,13 @@ c6e7d37.  However, this package works only up to 128 bytes.")
>         #:cargo-development-inputs
>         (("rust-criterion" ,rust-criterion-0.3)
>          ("rust-rand" ,rust-rand-0.6)
> -        ("rust-structopt" ,rust-structopt-0.3))))
> +        ("rust-structopt" ,rust-structopt-0.3))
> +       #:phases
> +        (modify-phases %standard-phases
> +         (add-after 'unpack 'fix-criterion-minor-version
> +          (lambda* _
> +           (substitute* "Cargo.toml"
> +            (("0.3.2") "0.3.3")))))))
>      (home-page "https://github.com/marshallpierce/rust-base64")
>      (synopsis "Encodes and decodes base64 as bytes or utf8")
>      (description
> --
> 2.32.0