diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 16:35:14 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 16:53:08 +0300 |
commit | 0583bd635398bfed6d8066ebaff926f792359bb5 (patch) | |
tree | fd14de2911b54df2b133393dd90983c266aaecba /gnu/packages | |
parent | bfd6150ea841646a5636f164f179a29dbbf63b88 (diff) | |
download | patches-0583bd635398bfed6d8066ebaff926f792359bb5.tar patches-0583bd635398bfed6d8066ebaff926f792359bb5.tar.gz |
gnu: Add rust-termcolor.
* gnu/packages/crates-io.scm (rust-termcolor): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b54d87ea12..c389fc80c9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1491,6 +1491,29 @@ and Jaro-Winkler.") "This package provides helper test traits for synstructure doctests.") (license license:expat))) +(define-public rust-termcolor + (package + (name "rust-termcolor") + (version "1.0.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "termcolor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-wincolor" ,rust-wincolor)))) + (home-page "https://github.com/BurntSushi/termcolor") + (synopsis "Library for writing colored text to a terminal") + (description "This package provides a simple cross platform library for +writing colored text to a terminal.") + (license (list license:unlicense + license:expat)))) + (define-public rust-termios (package (name "rust-termios") |