aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-29 14:13:19 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-29 15:05:24 +0300
commiteb34db03ee217a66be7f4c090b0f91e9b292ea64 (patch)
tree45ae8af3671ce049d8e5a7207f19a5ba601977b3
parentec3bbde43e79a884f58f5bf59de58c0de8cf0442 (diff)
downloadpatches-eb34db03ee217a66be7f4c090b0f91e9b292ea64.tar
patches-eb34db03ee217a66be7f4c090b0f91e9b292ea64.tar.gz
gnu: Add rust-clicolors-control.
* gnu/packages/crates-io.scm (rust-clicolors-control): New variable.
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ce4893acab..764cf7a906 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -203,6 +203,32 @@ depending on a large number of #[cfg] parameters. Structured like an
(license (list license:asl2.0
license:expat))))
+(define-public rust-clicolors-control
+ (package
+ (name "rust-clicolors-control")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clicolors-control" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1y80cgarxhrd1bz5yjm81r444v6flvy36aaxrrsac0yhfd6gvavk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-atty" ,rust-atty)
+ ("rust-lazy-static" ,rust-lazy-static)
+ ("rust-libc" ,rust-libc)
+ ("rust-winapi" ,rust-winapi))))
+ (home-page "https://github.com/mitsuhiko/clicolors-control")
+ (synopsis "Common utility library to control CLI colorization")
+ (description
+ "This package provides a common utility library to control CLI
+colorization.")
+ (license license:expat)))
+
(define-public rust-cloudabi
(package
(name "rust-cloudabi")