Subject: bug#32565: [PATCH] Add python-falcon-cors.

From: Maxim Cournoyer <[email-masked]>
Date: Wed, 29 Aug 2018 00:36:41 -0400

Hi again,

I'm adding this python-falcon-cors package here as well, since it
depends on the previous python-falcon patch.

Maxim

>From a2021511ee502bf4a29df7eb0ac657bd339e6bdc Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <[email-masked]>
Date: Wed, 29 Aug 2018 00:33:17 -0400
Subject: [PATCH] gnu: Add python-falcon-cors.

* gnu/packages/web.scm (python-falcon-cors): New variable.
---
 gnu/packages/web.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 2912c94f8..8e43aad83 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -3834,6 +3834,29 @@ high-performance microservices, app backends, and higher-level frameworks.")
 (define-public python2-falcon
   (package-with-python2 python-falcon))
 
+(define-public python-falcon-cors
+  (package
+    (name "python-falcon-cors")
+    (version "1.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "falcon-cors" version))
+       (sha256
+        (base32
+         "12pym7hwsbd8b0c1azn95nas8gm3f1qpr6lpyx0958xm65ffr20p"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-falcon" ,python-falcon)))
+    (home-page
+     "https://github.com/lwcolton/falcon-cors")
+    (synopsis "Falcon CORS middlware")
+    (description "This middleware provides CORS support for Falcon.")
+    (license l:asl2.0)))
+
+(define-public python2-falcon-cors
+  (package-with-python2 python-falcon-cors))
+
 (define-public python-feedparser
   (package
     (name "python-feedparser")
-- 
2.18.0