mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add python-debug.
Suggested by Pjotr Prins <pjotr.public12@thebird.nl>. * gnu/packages/python.scm (python-debug): New variable.
This commit is contained in:
parent
594e5d7368
commit
9c3f2c2e83
1 changed files with 18 additions and 0 deletions
|
@ -401,6 +401,24 @@ (define-public python-minimal
|
|||
("openssl" ,openssl)
|
||||
("zlib" ,zlib)))))
|
||||
|
||||
(define-public python-debug
|
||||
(package
|
||||
(inherit python)
|
||||
(name "python-debug")
|
||||
(outputs '("out" "debug"))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments python)
|
||||
((#:configure-flags flags '())
|
||||
`(cons "--with-pydebug" ,flags))))
|
||||
(synopsis
|
||||
"High-level, dynamically-typed programming language (for debugging)")
|
||||
(description
|
||||
"This variant of Python provides an interpreter built with
|
||||
@code{--with-pydebug} to help develop and debug extensions. See
|
||||
@url{https://pythonextensionpatterns.readthedocs.io/en/latest/debugging/debug.html},
|
||||
for more information.")))
|
||||
|
||||
(define* (wrap-python3 python
|
||||
#:optional
|
||||
(name (string-append (package-name python) "-wrapper")))
|
||||
|
|
Loading…
Reference in a new issue