Subject: [bug#42682] [PATCH v3 2/9] gnu: Add python-log-symbols.

From: Fredrik Salomonsson <[email-masked]>
Date: Sun, 28 May 2023 23:44:00 +0000

* gnu/packages/python-xyz.scm (python-log-symbols): New variable.
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e6fc35eb6c..f7536b0f20 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16025,6 +16025,37 @@ (define-public python-colorama-for-awscli
        (sha256
         (base32 "189n8hpijy14jfan4ha9f5n06mnl33cxz7ay92wjqgkr639s0vg9"))))))
 
+(define-public python-log-symbols
+  (package
+    (name "python-log-symbols")
+    (version "0.0.14")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "log_symbols" version))
+              (sha256
+               (base32
+                "0mh5d0igw33libfmbsr1ri1p1y644p36nwaa2w6kzrd8w5pvq2yg"))))
+    (build-system python-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'patch-test-requirements
+            (lambda* (#:key inputs #:allow-other-keys)
+              (substitute* '("requirements-dev.txt")
+                (("==") ">=")))))))
+    (native-inputs
+     (list python-tox
+           python-nose
+           python-coverage
+           python-pylint))
+    (propagated-inputs
+     (list python-colorama))
+    (home-page "https://github.com/manrajgrover/py-log-symbols")
+    (synopsis "Colored symbols for various log levels for Python")
+    (description "This package provides a Python module that generates colored symbols
+for info, success, warning and error log level.")
+    (license license:expat)))
 (define-public python-moto
   (package
     (name "python-moto")
-- 
2.40.1