From 3080d0d8d714dd066970bd0a4b684150dcdbe67b Mon Sep 17 00:00:00 2001 From: Jean-Pierre De Jesus DIAZ Date: Fri, 28 Jul 2023 14:23:58 +0200 Subject: gnu: Add python-log-symbols. * gnu/packages/terminals.scm (python-log-symbols): New variable. Signed-off-by: Jean-Pierre De Jesus DIAZ Signed-off-by: Vagrant Cascadian --- gnu/packages/terminals.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/terminals.scm') 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") -- cgit v1.2.3