(address . guix-patches@gnu.org)(name . h.nasajpour)(address . h.nasajpour@pantherx.org)
* gnu/packages/python-xyz.scm (python-json-logger): New variable.
---
gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
Toggle diff (29 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e47e5bbcd2..b2ebc79283 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15555,3 +15555,22 @@ by Igor Pavlov.")
"persist-queue implements a file-based queue and a serial of sqlite3-based queues")
(license license:bsd-2)))
+(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)
+ (arguments
+ `(
+ #:tests? #f
+ ))
+ (home-page "https://github.com/madzak/python-json-logger")
+ (synopsis "A python library adding a json log formatter.")
+ (description "This library is provided to allow 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:expat)))
+
--
2.17.1