Web lists-archives.com

Bug#879750: ITP: golang-github-alecthomas-colour -- Quake-style colour formatting for Unix terminals

Package: wnpp
Severity: wishlist
Owner: Anthony Fok <foka@xxxxxxxxxx>

* Package name    : golang-github-alecthomas-colour
  Version         : 0.0~git20160524.60882d9-1
  Upstream Author : Alec Thomas
* URL             : https://github.com/alecthomas/colour
* License         : Expat
  Programming Lang: Go
  Description     : Quake-style colour formatting for Unix terminals

 Colour terminal text for Go (Golang)

 Go package colour provides Quake-style colour formatting
 for Unix terminals.
 The package level functions can be used to write to stdout (or strings
 or other files).  If stdout is not a terminal, colour formatting will
 be stripped.
     colour.Printf("^0black ^1red ^2green ^3yellow ^4blue ^5magenta ^6cyan
 For more control, a Printer object can be created with various helper
 functions. This can be used to do useful things such as strip formatting,
 write to strings, and so on.

Reasoning: Required by golang-github-alecthomas-chroma for hugo:
 Hugo 0.28 brings blistering fast and native syntax highlighting
 from Chroma.  A big thank you to Alec Thomas for taking on this
 massive task of porting the popular python highlighter Pygments to Go.