diff options
author | Daniel Ziltener <dziltener@lyrion.ch> | 2025-04-10 14:51:06 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-13 21:10:00 +0100 |
commit | f0e0caa570681a29be34ca5a5c634da22a7c4099 (patch) | |
tree | 9b1cd1b19036031e069509c8c4b07422257d66d5 | |
parent | d462ff75f1d5e861e29f981f30dfe119aa4fc972 (diff) | |
download | guix-f0e0caa570681a29be34ca5a5c634da22a7c4099.tar.gz guix-f0e0caa570681a29be34ca5a5c634da22a7c4099.zip |
gnu: Add python-quart-trio.
* gnu/packages/python-web.scm (python-quart-trio): New variable.
Change-Id: I0e429361bfaaa9a57210a8b2f48e19eeaa14d21e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r-- | gnu/packages/python-web.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b8230b4117..52e1eafc97 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -70,6 +70,7 @@ ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com> ;;; Copyright © 2024 Attila Lendvai <attila@lendvai.name> +;;; Copyright © 2025 Daniel Ziltener <dziltener@lyrion.ch> ;;; ;;; This file is part of GNU Guix. ;;; @@ -9945,6 +9946,43 @@ library for accessing the Twitter API.") as Flask.") (license license:expat))) +(define-public python-quart-trio + (package + (name "python-quart-trio") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "quart_trio" version)) + (sha256 + (base32 "130r8hdk7xxjp380z1r3m28lw86q2a6g9rf0mgp9gs6hk04q9v02")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-coverage-pytest-options + (lambda _ + (substitute* "pyproject.toml" + (("--no-cov-on-fail") ""))))))) + (native-inputs + (list python-pdm-backend + python-pytest + python-pytest-sugar + python-pytest-trio)) + (propagated-inputs + (list python-exceptiongroup + python-hypercorn + python-quart + python-trio)) + (home-page "https://github.com/pgjones/quart-trio") + (synopsis "Extension for Quart to support the Trio event loop") + (description + "This package provides a Quart extension to provide Trio support. This +is an alternative to using the asyncio event loop present in the Python +standard library and supported by default in Quart.") + (license license:expat))) + (define-public python-ajsonrpc (package (name "python-ajsonrpc") |