Skip to content
Snippets Groups Projects
Unverified Commit 00463093 authored by nikita's avatar nikita Committed by Ludovic Courtès
Browse files

gnu: Add python-coloredlogs.


* gnu/packages/python.scm (python-coloredlogs, python2-coloredlogs): New
variables.

Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
parent 7d414763
No related branches found
No related tags found
No related merge requests found
...@@ -1183,6 +1183,35 @@ (define-public python-verboselogs ...@@ -1183,6 +1183,35 @@ (define-public python-verboselogs
(define-public python2-verboselogs (define-public python2-verboselogs
(package-with-python2 python-verboselogs)) (package-with-python2 python-verboselogs))
   
(define-public python-coloredlogs
(package
(name "python-coloredlogs")
(version "7.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "coloredlogs" version))
(sha256
(base32
"1blcann6dyg5dhps9pg12rn0q0rjrlajpmmil0gy0j4cbvnl2il9"))))
(build-system python-build-system)
(arguments
`(;Tests require some updated modules
#:tests? #f))
(propagated-inputs
`(("python-capturer" ,python-capturer)))
(home-page "https://coloredlogs.readthedocs.io")
(synopsis "Colored stream handler for Python's logging module")
(description
"The @code{coloredlogs} package enables colored terminal output for
Python's logging module. The @code{ColoredFormatter} class inherits from
@code{logging.Formatter} and uses ANSI escape sequences to render your logging
messages in color.")
(license license:expat)))
(define-public python2-coloredlogs
(package-with-python2 python-coloredlogs))
(define-public python-eventlet (define-public python-eventlet
(package (package
(name "python-eventlet") (name "python-eventlet")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment