[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#35949] [PATCH 3/3] gnu: Add python-flask-cors.
From: |
Hamzeh Nasajpour |
Subject: |
[bug#35949] [PATCH 3/3] gnu: Add python-flask-cors. |
Date: |
Wed, 29 May 2019 05:28:48 +0430 |
User-agent: |
Cyrus-JMAP/3.1.6-555-g49357e1-fmstable-20190528v2 |
+(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
+ "This package has a simple philosophy, when you want to enable CORS, you
wish to enable it for all use cases on a domain. This means no mucking around
with different allowed headers, methods, etc. By default, submission of cookies
across domains is disabled due to the security implications")
+ (license license:expat)))
+
On Tue, May 28, 2019, at 11:39 PM, Danny Milosavljevic wrote:
> Hi,
>
> On Tue, 28 May 2019 15:27:43 +0430
> "h.nasajpour" <address@hidden> wrote:
>
> > + (source (origin
> > + (method url-fetch)
> > + (uri (pypi-uri "Flask-Cors" version))
> > + (sha256 (base32
> > "1v6gq4vjgyxi8q8lxawpdfhq01adb4bznnabp08ks5nzbwibz43y"))))
>
> Strange indentation.
>
> > + (arguments
> > + `(#:tests? #f))
>
> Please add a comment with the reason.
>
> > + (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")
>
> Please add text to the description that describes what CORS is.
> Also, the description should be full sentences.
>