gnu: Add python-stack-data.

* gnu/packages/python-xyz.scm (python-stack-data): New variable.
This commit is contained in:
Maxim Cournoyer 2022-03-23 00:28:52 -04:00
parent 68d7bc9ee5
commit 9d31c06992
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -9072,6 +9072,32 @@ for automated refactoring or highlighting.")
functions, useful in the context of writing unit tests among other uses.") functions, useful in the context of writing unit tests among other uses.")
(license license:expat))) (license license:expat)))
(define-public python-stack-data
(package
(name "python-stack-data")
(version "0.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "stack_data" version))
(sha256
(base32 "04lfcj5qrn4qikjw89qbdzqwm0xm4bgm4m8rll1rafk3pm0jssa5"))))
(build-system python-build-system)
(propagated-inputs (list python-asttokens python-executing python-pure-eval))
(native-inputs
(list python-cython
python-littleutils
python-pygments
python-pytest
python-setuptools-scm
python-typeguard))
(home-page "https://github.com/alexmojaki/stack_data")
(synopsis "Python stack frame and traceback manipulation library")
(description "The @code{stack_data} Python library extracts data from
stack frames and tracebacks. Is can be used to display more useful tracebacks
than the default.")
(license license:expat)))
(define-public python-ipython (define-public python-ipython
(package (package
(name "python-ipython") (name "python-ipython")