gnu: Add rust-concolor-0.0.8.

* gnu/packages/crates-io.scm (rust-concolor-0.0.8): New variable.
(rust-concolor-control-0.0.7): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2022-02-28 11:43:39 +01:00
parent 7a6a185821
commit e3cf517af7
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -12358,8 +12358,38 @@ (define-public rust-concat-idents-1
everywhere.") everywhere.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-concolor-0.0.8
(package
(name "rust-concolor")
(version "0.0.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "concolor" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1bs03868bywgz2f8x4h41akvxpxiax9b036hrpf0mwhx7db6flh1"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-atty" ,rust-atty-0.2)
("rust-bitflags" ,rust-bitflags-1)
("rust-concolor-query" ,rust-concolor-query-0.0.5))))
(home-page "https://github.com/rust-cli/concolor")
(synopsis "Control console coloring across all dependencies")
(description "Concolor is a terminal styling library that can be used to:
@itemize
@item Detect interactive @samp{stdout} or @samp{stderr}
@item Detect terminal capabilities via @samp{TERM}
@item Support @url{https://bixense.com/clicolors/, CLICOLOR} and
@url{https://no-color.org/, NO_COLOR}.
@end itemize")
(license (list license:expat license:asl2.0))))
(define-public rust-concolor-control-0.0.7 (define-public rust-concolor-control-0.0.7
(package (package
(inherit rust-concolor-0.0.8)
(name "rust-concolor-control") (name "rust-concolor-control")
(version "0.0.7") (version "0.0.7")
(source (source
@ -12369,24 +12399,12 @@ (define-public rust-concolor-control-0.0.7
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1nplakbdb9sbd3h62d9zkan0xm1w0c7cbl3rk0iqgn405yf1213i")))) (base32 "1nplakbdb9sbd3h62d9zkan0xm1w0c7cbl3rk0iqgn405yf1213i"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs
(("rust-atty" ,rust-atty-0.2) (("rust-atty" ,rust-atty-0.2)
("rust-bitflags" ,rust-bitflags-1) ("rust-bitflags" ,rust-bitflags-1)
("rust-concolor-query" ,rust-concolor-query-0.0.4)))) ("rust-concolor-query" ,rust-concolor-query-0.0.4))))))
(home-page "https://github.com/rust-cli/concolor")
(synopsis "Control console coloring across all dependencies")
(description "@code{concolor-control} is a terminal styling library that
can be used to:
@itemize
@item Detect interactive @samp{stdout} or @samp{stderr}
@item Detect terminal capabilities via @samp{TERM}
@item Support @url{https://bixense.com/clicolors/, CLICOLOR} and
@url{https://no-color.org/, NO_COLOR}.
@end itemize")
(license (list license:expat license:asl2.0))))
(define-public rust-concolor-query-0.0.5 (define-public rust-concolor-query-0.0.5
(package (package