diff options
author | Peter Polidoro <peter@polidoro.io> | 2022-09-26 15:25:14 -0400 |
---|---|---|
committer | Guix Patches Tester <> | 2022-11-18 13:01:41 +0100 |
commit | a1c0874abce73710562e25b41b683bf549ff23a8 (patch) | |
tree | 6e515ad1a6e703909577c880acccc9f01fa8fd9a | |
parent | 983906ab72307a5b848a54233b30d9744356de07 (diff) | |
download | guix-patches-a1c0874abce73710562e25b41b683bf549ff23a8.tar guix-patches-a1c0874abce73710562e25b41b683bf549ff23a8.tar.gz |
gnu: Add python-plotext.issue-57368
* gnu/packages/python-xyz.scm (python-plotext): New variable.
-rw-r--r-- | gnu/packages/python-xyz.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e3d1ac05fa..acbfa23b8c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -921,6 +921,31 @@ variables into the markdown template") Markdown. All extensions are found under the module namespace of pymdownx.") (license license:expat))) +(define-public python-plotext + (package + (name "python-plotext") + (version "5.2.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "plotext" version)) + (sha256 + (base32 + "1kxqvxkzlqh8pggfvinhs4g8727r792b1p4d894pj7a9b3jqhccq")))) + (build-system python-build-system) + ;; tests pass when run manually with test() function after install + ;; tests fail when run automatically during build with error: + ;; plotext: error: argument type: invalid choice: 'test' + (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-plotille (package (name "python-plotille") |