diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2018-08-29 00:33:17 -0400 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2018-10-14 22:50:27 -0400 |
| commit | 66a9f08bb9c9ba2d7cd4ee3c2d48ea9a8e41c2c4 (patch) | |
| tree | 0a1adda388fd71c90696c88d7b13c7f067f089db /gnu/packages/python-web.scm | |
| parent | bb840999c8592b0077c78170e135b59bc79638ed (diff) | |
gnu: Add python-falcon-cors.
* gnu/packages/python-web.scm (python-falcon-cors): New variable.
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 77fb99dc562..f8052458a15 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -181,6 +181,32 @@ classes | |||
| 181 | (define-public python2-falcon | 181 | (define-public python2-falcon |
| 182 | (package-with-python2 python-falcon)) | 182 | (package-with-python2 python-falcon)) |
| 183 | 183 | ||
| 184 | (define-public python-falcon-cors | ||
| 185 | (package | ||
| 186 | (name "python-falcon-cors") | ||
| 187 | (version "1.1.7") | ||
| 188 | (source | ||
| 189 | (origin | ||
| 190 | (method url-fetch) | ||
| 191 | (uri (pypi-uri "falcon-cors" version)) | ||
| 192 | (sha256 | ||
| 193 | (base32 | ||
| 194 | "12pym7hwsbd8b0c1azn95nas8gm3f1qpr6lpyx0958xm65ffr20p")))) | ||
| 195 | (build-system python-build-system) | ||
| 196 | (native-inputs | ||
| 197 | `(("python-falcon" ,python-falcon))) | ||
| 198 | (home-page | ||
| 199 | "https://github.com/lwcolton/falcon-cors") | ||
| 200 | (synopsis "Falcon @dfn{cross-origin resource sharing} (CORS) library") | ||
| 201 | (description "This middleware provides @dfn{cross-origin resource | ||
| 202 | sharing} (CORS) support for Falcon. It allows applying a specially crafted | ||
| 203 | CORS object to the incoming requests, enabling the ability to serve resources | ||
| 204 | over a different origin than that of the web application.") | ||
| 205 | (license license:asl2.0))) | ||
| 206 | |||
| 207 | (define-public python2-falcon-cors | ||
| 208 | (package-with-python2 python-falcon-cors)) | ||
| 209 | |||
| 184 | (define-public python-furl | 210 | (define-public python-furl |
| 185 | (package | 211 | (package |
| 186 | (name "python-furl") | 212 | (name "python-furl") |
