@@ -742,6 +742,31 @@ (define-public python-pymdown-extensions
Markdown. All extensions are found under the module namespace of pymdownx.")
(license license:expat)))
+(define-public python-plotext
+ (package
+ (name "python-plotext")
+ (version "5.0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "plotext" version))
+ (sha256
+ (base32
+ "1p28hdxgjhdrcwq795nqrglcp6v5cl936mbah31dqhgjk6cy5v71"))))
+ (build-system python-build-system)
+ ;; tests pass when run manually with test() function after install
+ ;; tests fail when run automatically during build with error:
+ ;; TypeError: don't know how to make test from: unix
+ (arguments
+ `(#:tests? #f))
+ (propagated-inputs (list python-pillow))
+ (home-page "https://github.com/piccolomo/plotext")
+ (synopsis "2D plotting library for Python to plot directly on a terminal")
+ (description
+ "Plotext is a Python 2D plotting library which produces
+figures directly on a terminal with syntax similar to matplotlib and can save
+plots as text or as colored html.")
+ (license license:expat)))
+
(define-public python-mdx-gh-links
(package
(name "python-mdx-gh-links")
From: Peter Polidoro <peter@polidoro.io> * gnu/packages/python-xyz.scm (python-plotext): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)