aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTanguy Le Carrour <tanguy@bioneland.org>2020-03-21 12:26:26 +0100
committerLeo Famulari <leo@famulari.name>2020-03-24 17:10:21 -0400
commit20c9df4e46a0d0cec67164ca5d896abd47670cae (patch)
tree797291b0b652b95b3b7b6561e4885f2d8b352918 /gnu
parent3b3edfa8e395b8bc4ea6b8427e2edaa45735e5de (diff)
downloadguix-20c9df4e46a0d0cec67164ca5d896abd47670cae.tar.gz
guix-20c9df4e46a0d0cec67164ca5d896abd47670cae.zip
gnu: Add python-daiquiri.
* gnu/packages/python-xyz.scm (python-daiquiri): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 66961c0d6b..b4876a946c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18570,3 +18570,29 @@ associated with file system objects (files, directories, symlinks, etc).")
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)))
+
+(define-public python-daiquiri
+ (package
+ (name "python-daiquiri")
+ (version "2.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "daiquiri" version))
+ (sha256
+ (base32
+ "1qmank3c217ddiig3xr8ps0mqaydcp0q5a62in9a9g4zf72zjnqd"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-json-logger" ,python-json-logger)))
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-pytest" ,python-pytest)
+ ("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-six" ,python-six)))
+ (home-page "https://github.com/jd/daiquiri")
+ (synopsis
+ "Library to configure Python logging easily")
+ (description "The daiquiri library provides an easy way to configure
+logging in Python. It also provides some custom formatters and handlers.")
+ (license license:asl2.0)))