summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-14 00:13:50 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-30 18:34:55 +0000
commit686df4b987c993e269e6a4360f7f5ef899f3bb17 (patch)
tree744c18ec8765cec7b208e9ad4924e1d57ff5e901 /gnu/packages/python-web.scm
parent53f139c64d5b3dfaec8b6cef7d554f8a2069f50d (diff)
gnu: Add python-pyramid-debugtoolbar.
* gnu/packages/python-web.scm (python-pyramid-debugtoolbar): New variable. Change-Id: I4a99d6b9c0bbe112d1e74116c193e6239a1bcdf6
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")