diff options
author | Sergio Pastor Pérez <sergio.pastorperez@gmail.com> | 2025-05-09 21:29:04 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-05-10 16:12:21 +0100 |
commit | c64b548a09db6256c48a9d618c992c22e140523a (patch) | |
tree | 743bc1acc72f1545a8dc46ee5dc6656c0fcfc741 /gnu/packages/python-web.scm | |
parent | 66dd876b50eee6e958a8c814cb792a18fe0c5a17 (diff) |
gnu: Add python-aiohttp-cors.
* gnu/packages/python-web.scm (python-aiohttp-cors): New variable.
Change-Id: Ic94d0b06d787564e20fbe39196d5843af4e9f3a2
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r-- | gnu/packages/python-web.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 0e972958aa..1895eb94cf 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -72,6 +72,7 @@ ;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com> ;;; Copyright © 2024 Attila Lendvai <attila@lendvai.name> ;;; Copyright © 2025 Daniel Ziltener <dziltener@lyrion.ch> +;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1211,6 +1212,32 @@ Callback Hell. @end itemize") (license license:asl2.0))) +(define-public python-aiohttp-cors + (package + (name "python-aiohttp-cors") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "aiohttp_cors" version)) + (sha256 + (base32 "00qlzc2y65bkl1a5f5v83mmjlrhzmx3a2ngq2pm3jjdnhk5zkb6c")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f)) ; network access is required to run tests + (native-inputs + (list python-setuptools + python-wheel)) + (propagated-inputs + (list python-aiohttp)) + (home-page "https://github.com/aio-libs/aiohttp-cors") + (synopsis "CORS support for aiohttp") + (description + "This library implements @acronym{CORS, Cross Origin Resource Sharing} +support for aiohttp asyncio-powered asynchronous HTTP server.") + (license license:asl2.0))) + (define-public python-aiohttp-socks (package (name "python-aiohttp-socks") |