guix-commits
[Top][All Lists]
Advanced

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

03/08: gnu: Add python-log-symbols.


From: guix-commits
Subject: 03/08: gnu: Add python-log-symbols.
Date: Tue, 29 Aug 2023 20:15:00 -0400 (EDT)

vagrantc pushed a commit to branch master
in repository guix.

commit 3080d0d8d714dd066970bd0a4b684150dcdbe67b
Author: Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com>
AuthorDate: Fri Jul 28 14:23:58 2023 +0200

    gnu: Add python-log-symbols.
    
    * gnu/packages/terminals.scm (python-log-symbols): New variable.
    
    Signed-off-by: Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com>
    Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
---
 gnu/packages/terminals.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index c5bf4ed69b..f3e81fb65b 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1160,6 +1160,34 @@ terminal.  It features string-like objects which carry 
formatting information,
 per-line fullscreen terminal rendering, and keyboard input event reporting.")
     (license license:expat)))
 
+(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 pyproject-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'relax-requirements
+                 (lambda _
+                   (substitute* "requirements-dev.txt"
+                     (("(.*)==(.*)$" _ dep ver)
+                      (string-append dep ">=" ver))))))))
+    (propagated-inputs (list python-colorama))
+    (native-inputs (list python-coverage python-nose python-pylint python-tox))
+    (home-page "https://github.com/manrajgrover/py-log-symbols";)
+    (synopsis "Python library with graphical symbols for logging on the 
terminal")
+    (description "This package provides a Python library with graphical symbols
+that can be displayed on the terminal, with color if possible, for logging
+purposes.")
+    (license license:expat)))
+
 (define-public python-spinners
   (package
     (name "python-spinners")



reply via email to

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