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 0e972958aa9..1895eb94cfe 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -72,6 +72,7 @@ | |||
| 72 | ;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com> | 72 | ;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com> |
| 73 | ;;; Copyright © 2024 Attila Lendvai <attila@lendvai.name> | 73 | ;;; Copyright © 2024 Attila Lendvai <attila@lendvai.name> |
| 74 | ;;; Copyright © 2025 Daniel Ziltener <dziltener@lyrion.ch> | 74 | ;;; Copyright © 2025 Daniel Ziltener <dziltener@lyrion.ch> |
| 75 | ;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com> | ||
| 75 | ;;; | 76 | ;;; |
| 76 | ;;; This file is part of GNU Guix. | 77 | ;;; This file is part of GNU Guix. |
| 77 | ;;; | 78 | ;;; |
| @@ -1211,6 +1212,32 @@ Callback Hell. | |||
| 1211 | @end itemize") | 1212 | @end itemize") |
| 1212 | (license license:asl2.0))) | 1213 | (license license:asl2.0))) |
| 1213 | 1214 | ||
| 1215 | (define-public python-aiohttp-cors | ||
| 1216 | (package | ||
| 1217 | (name "python-aiohttp-cors") | ||
| 1218 | (version "0.8.1") | ||
| 1219 | (source | ||
| 1220 | (origin | ||
| 1221 | (method url-fetch) | ||
| 1222 | (uri (pypi-uri "aiohttp_cors" version)) | ||
| 1223 | (sha256 | ||
| 1224 | (base32 "00qlzc2y65bkl1a5f5v83mmjlrhzmx3a2ngq2pm3jjdnhk5zkb6c")))) | ||
| 1225 | (build-system pyproject-build-system) | ||
| 1226 | (arguments | ||
| 1227 | (list | ||
| 1228 | #:tests? #f)) ; network access is required to run tests | ||
| 1229 | (native-inputs | ||
| 1230 | (list python-setuptools | ||
| 1231 | python-wheel)) | ||
| 1232 | (propagated-inputs | ||
| 1233 | (list python-aiohttp)) | ||
| 1234 | (home-page "https://github.com/aio-libs/aiohttp-cors") | ||
| 1235 | (synopsis "CORS support for aiohttp") | ||
| 1236 | (description | ||
| 1237 | "This library implements @acronym{CORS, Cross Origin Resource Sharing} | ||
| 1238 | support for aiohttp asyncio-powered asynchronous HTTP server.") | ||
| 1239 | (license license:asl2.0))) | ||
| 1240 | |||
| 1214 | (define-public python-aiohttp-socks | 1241 | (define-public python-aiohttp-socks |
| 1215 | (package | 1242 | (package |
| 1216 | (name "python-aiohttp-socks") | 1243 | (name "python-aiohttp-socks") |
