summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/python-web.scm26
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
202sharing} (CORS) support for Falcon. It allows applying a specially crafted
203CORS object to the incoming requests, enabling the ability to serve resources
204over 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")