gnu: Add python-json-logger.

* gnu/packages/python-xyz.scm (python-json-logger): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Tanguy Le Carrour 2020-03-21 12:26:25 +01:00 committed by Leo Famulari
parent f6c784806e
commit 3b3edfa8e3
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -18550,3 +18550,23 @@ (define-public python-xattr
and directories in the file system. They are stored as name:data pairs
associated with file system objects (files, directories, symlinks, etc).")
(license license:expat)))
(define-public python-json-logger
(package
(name "python-json-logger")
(version "0.1.11")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-json-logger" version))
(sha256
(base32
"10g2ya6nsvn5vxzvq2wb8q4d43i3d7756i5rxyjna6d0y9i138xp"))))
(build-system python-build-system)
(home-page
"https://github.com/madzak/python-json-logger")
(synopsis "JSON log formatter in Python")
(description "This library allows standard Python logging to output log data
as JSON objects. With JSON we can make our logs more readable by machines and
we can stop writing custom parsers for syslog-type records.")
(license license:bsd-3)))