Patchwork [02/11] gnu: Add python-flask-multistatic.

login
register
mail settings
Submitter ng0
Date Dec. 19, 2016, 9:07 a.m.
Message ID <20161219090741.5446-3-ng0@libertad.pw>
Download mbox | patch
Permalink /patch/18551/
State New
Headers show

Comments

ng0 - Dec. 19, 2016, 9:07 a.m.
* gnu/packages/python.scm (python-flask-multistatic): New variable.
---
 gnu/packages/python.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5a7c2a0ca..5f7533011 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9246,6 +9246,30 @@  file upload, and reCAPTCHA.")
 (define-public python2-flask-wtf
   (package-with-python2 python-flask-wtf))
 
+(define-public python-flask-multistatic
+  (package
+    (name "python-flask-multistatic")
+    (version "1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "flask-multistatic" version))
+       (sha256
+        (base32
+         "0p4v50rwv64wcd0zlq7rzl4waprwr4hj19s3cgf1isywa7jcisgm"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-flask" ,python-flask)))
+    (home-page "https://pagure.io/flask-multistatic")
+    (synopsis "Flask plugin to allow overriding static files")
+    (description
+     "@code{flask-multistatic} is a simple plugin to add
+support for overriding static files to flask.")
+    (license license:gpl3+)))
+
+(define-public python2-flask-multistatic
+  (package-with-python2 python-flask-multistatic))
+
 (define-public python-cookies
   (package
     (name "python-cookies")