summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a9fc0334987..1b963f9108c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -10222,6 +10222,46 @@ request/response web apps to larger, grown applications.")
for the Pyramid web framework.")
(license license:repoze))))
+(define-public python-pyramid-debugtoolbar
+ (package
+ (name "python-pyramid-debugtoolbar")
+ (version "4.12.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyramid_debugtoolbar" version))
+ (sha256
+ (base32 "0gdlc7vcga4vzma53h5csnhh4gwfmv3w8v9y5fhwqpy8979qis3i"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; Large diff assertion not equal faileurs.
+ #~(list #$@(map (lambda (test)
+ (string-append "--deselect=tests"
+ "/test_panels/test_sqla.py::" test))
+ (list "TestSimpleSelect::test_panel"
+ "TestTransactionCommit::test_panel"
+ "TestTransactionRollback::test_panel")))))
+ (native-inputs
+ (list python-pytest
+ python-setuptools
+ python-webtest))
+ (propagated-inputs
+ (list python-pyramid
+ python-pyramid-chameleon
+ python-pyramid-jinja2
+ python-pyramid-mako
+ ;; python-selenium ; see: guix/guix#3478
+ python-sqlalchemy
+ python-waitress))
+ (home-page "https://github.com/Pylons/pyramid_debugtoolbar")
+ (synopsis "Pyramid debug toolbar")
+ (description
+ "This package provides an interactive HTML debugger for Pyramid application
+development.")
+ (license license:bsd-3)))
+
(define-public python-pyramid-jinja2
(package
(name "python-pyramid-jinja2")