gnu: Add python-ipdb.

* gnu/packages/python-xyz.scm (python-ipdb): New variable.
This commit is contained in:
Maxim Cournoyer 2022-04-22 21:41:39 -04:00
parent b60ca1f3b8
commit dfe81d0f81
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -6278,6 +6278,32 @@ (define-public python-fancycompleter
module from the standard Python library.")
(license license:bsd-3)))
(define-public python-ipdb
(package
(name "python-ipdb")
(version "0.13.9")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ipdb" version))
(sha256
(base32 "1ibql99agjf2gj7y0svzd5m0h81hailf4p3sj3yl9i1i8ykdj6wm"))))
(build-system python-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "unittest" "discover")))))))
(propagated-inputs (list python-ipython python-toml python-decorator))
(home-page "https://github.com/gotcha/ipdb")
(synopsis "IPython-enhanced Python debugger (pdb)")
(description "@code{ipdb} exports functions to access the IPython
debugger, which features tab completion, syntax highlighting, better
tracebacks and better introspection than Python's standard @command{pdb}
debugger, with which it shares the same interface.")
(license license:bsd-3)))
(define-public python-pdbpp
(package
(name "python-pdbpp")