mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: Add python-flask-seasurf.
* gnu/packages/python-web.scm (python-flask-seasurf): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
parent
4181835a52
commit
e3d9d896b5
1 changed files with 23 additions and 0 deletions
|
@ -3679,6 +3679,29 @@ (define-public python-flask-compress
|
|||
headers required for a compressed response and compresses the response data.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-flask-seasurf
|
||||
(package
|
||||
(name "python-flask-seasurf")
|
||||
(version "1.1.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "Flask-SeaSurf" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1aaib4n27q0f2alp87mhv3f79vg7qckp71rphbd0mb39qw470lsl"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list #:tests? #false)) ;there are none
|
||||
(propagated-inputs (list python-flask))
|
||||
(home-page "https://github.com/maxcountryman/flask-seasurf/")
|
||||
(synopsis "CSRF extension for Flask")
|
||||
(description "SeaSurf is a Flask extension for preventing cross-site
|
||||
request forgery (CSRF). CSRF attacks are problematic because the mechanism
|
||||
they use is relatively easy to exploit. This extension attempts to aid you in
|
||||
securing your application from such attacks. This extension is based on the
|
||||
Django middleware.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-flask-wtf
|
||||
(package
|
||||
(name "python-flask-wtf")
|
||||
|
|
Loading…
Reference in a new issue