guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/14: gnu: Add python-json-logger.


From: guix-commits
Subject: 10/14: gnu: Add python-json-logger.
Date: Tue, 24 Mar 2020 17:17:24 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit 3b3edfa8e395b8bc4ea6b8427e2edaa45735e5de
Author: Tanguy Le Carrour <address@hidden>
AuthorDate: Sat Mar 21 12:26:25 2020 +0100

    gnu: Add python-json-logger.
    
    * gnu/packages/python-xyz.scm (python-json-logger): New variable.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c36134a..66961c0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18550,3 +18550,23 @@ filesystem attributes.  Extended attributes extend the 
basic attributes of files
 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]