From 71854b7dfe034dc47655c6fa885bd255fde3c160 Mon Sep 17 00:00:00 2001 From: Stefan Reichör Date: Sat, 29 May 2021 22:28:37 +0200 Subject: gnu: Add python-easy-ansi. * gnu/packages/python-xyz.scm (python-easy-ansi): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b3ed73f04a..886a890049 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16549,6 +16549,30 @@ converting text with ANSI color codes to HTML or LaTeX.") (define-public python2-ansi2html (package-with-python2 python-ansi2html)) +(define-public python-easy-ansi + (package + (name "python-easy-ansi") + (version "0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/joeysbytes/easy-ansi") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0albh55ynzs98qy9pln4qaxw5qhhh3lk09jy9bx19gycrp1c3lc3")))) + (build-system python-build-system) + (home-page "https://gitlab.com/joeysbytes/easy-ansi") + (synopsis "Terminal framework API") + (description + "Easy ANSI is a terminal framework API to give you an easy way to use +colors, cursor control movements, and line/box drawing. It is not meant as a +replacement to more full-featured frameworks (such as curses or urwid), but as +a tool to quickly create nice-looking screens in your terminal window. You +can even create animations with the cursor controls.") + (license license:expat))) + (define-public python-ddt (package (name "python-ddt") -- cgit v1.2.3