unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "h.nasajpour" <h.nasajpour@pantherx.org>
To: 35949@debbugs.gnu.org
Cc: "h.nasajpour" <h.nasajpour@pantherx.org>
Subject: [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors.
Date: Tue, 28 May 2019 15:27:43 +0430	[thread overview]
Message-ID: <20190528105743.3749-1-h.nasajpour@pantherx.org> (raw)
In-Reply-To: <h.nasajpour@pantherx.org>

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

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 79f4ec3565..ab11119f07 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2095,6 +2095,26 @@ SlimIt also provides a library that includes a JavaScript parser, lexer,
 pretty printer and a tree visitor.")
     (license license:expat)))
 
+(define-public python-flask-cors
+  (package
+  (name "python-flask-cors")
+    (version "3.0.7")
+    (source (origin
+      (method url-fetch)
+      (uri (pypi-uri "Flask-Cors" version))
+      (sha256 (base32 "1v6gq4vjgyxi8q8lxawpdfhq01adb4bznnabp08ks5nzbwibz43y"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))
+    (propagated-inputs
+      `(("python-six" ,python-six)
+        ("python-flask" ,python-flask)))
+    (home-page "https://github.com/corydolphin/flask-cors")
+    (synopsis "A Flask extension adding a decorator for CORS support")
+    (description
+     "A Flask extension adding a decorator for CORS support")
+    (license license:expat)))
+
 (define-public python-flask-restful
   (package
     (name "python-flask-restful")
-- 
2.21.0

             reply	other threads:[~2019-05-28 14:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-28 10:57 h.nasajpour [this message]
2019-05-28 19:09 ` [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors Danny Milosavljevic
2019-05-29  0:58   ` Hamzeh Nasajpour
2019-07-29  6:45     ` Hamzeh Nasajpour
2019-12-10  6:34     ` Brett Gilio
2022-04-07 13:07 ` bug#35949: " zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190528105743.3749-1-h.nasajpour@pantherx.org \
    --to=h.nasajpour@pantherx.org \
    --cc=35949@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).