Subject: Re: [bug#49384] [PATCH 02/21] gnu: Add rust-colored-2

From: Xinglu Chen <[email-masked]>
Date: Sun, 11 Jul 2021 10:50:09 +0200

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-colored-2): New public variable.
> ---
>  gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 7b3fea5859..842400c13d 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -8603,6 +8603,35 @@ colors.")
>         (sha256
>          (base32 "0fildacm47g86acmx44yvxx6cka8fdym5qkgfm8x8gh2hsrghc7r"))))))
>  
> +(define-public rust-colored-2
> +  (package
> +    (name "rust-colored")
> +    (version "2.0.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "colored" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "1gbcijscmznzy42rn213yp9ima7210zakgaqibgg1n441dsnyqdk"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-atty" ,rust-atty-0.2)
> +         ("rust-lazy-static" ,rust-lazy-static-1)
> +         ("rust-winapi" ,rust-winapi-0.3))
> +        #:cargo-development-inputs
> +        (("rust-ansi-term" ,rust-ansi-term-0.12)
> +         ("rust-rspec" ,rust-rspec-1))))
> +    (home-page "https://github.com/mackwic/colored")
> +    (synopsis
> +      "The most simple way to add colors in your terminal")
> +    (description
> +      "The most simple way to add colors in your terminal")

The description should consist of one or more full sentences, see
“16.4.4 Synopses and Descriptions” in the manual.