diff options
| author | Leo Famulari <leo@famulari.name> | 2016-02-14 02:03:38 -0500 |
|---|---|---|
| committer | Leo Famulari <leo@famulari.name> | 2016-03-18 14:27:16 -0400 |
| commit | f3b3d78fbc3c2c98e2d403c1fd102560ae292c98 (patch) | |
| tree | f064715bebf4071f439b28b5922358893e79e507 /gnu/packages/python.scm | |
| parent | 8975de8821c409312fc75b703fae36378aad745b (diff) | |
gnu: Add python-flask.
* gnu/packages/python.scm (python-flask, python2-flask): New variables.
Diffstat (limited to 'gnu/packages/python.scm')
| -rw-r--r-- | gnu/packages/python.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index aab239fe037..d7828fb2334 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -8256,3 +8256,31 @@ useful for solving the Assignment Problem.") | |||
| 8256 | 8256 | ||
| 8257 | (define-public python2-munkres | 8257 | (define-public python2-munkres |
| 8258 | (package-with-python2 python-munkres)) | 8258 | (package-with-python2 python-munkres)) |
| 8259 | |||
| 8260 | (define-public python-flask | ||
| 8261 | (package | ||
| 8262 | (name "python-flask") | ||
| 8263 | (version "0.10.1") | ||
| 8264 | (source (origin | ||
| 8265 | (method url-fetch) | ||
| 8266 | (uri (pypi-uri "Flask" version)) | ||
| 8267 | (sha256 | ||
| 8268 | (base32 | ||
| 8269 | "0wrkavjdjndknhp8ya8j850jq7a1cli4g5a93mg8nh1xz2gq50sc")))) | ||
| 8270 | (build-system python-build-system) | ||
| 8271 | (propagated-inputs | ||
| 8272 | `(("python-itsdangerous" ,python-itsdangerous) | ||
| 8273 | ("python-jinja2" ,python-jinja2) | ||
| 8274 | ("python-werkzeug" ,python-werkzeug))) | ||
| 8275 | (home-page "https://github.com/mitsuhiko/flask/") | ||
| 8276 | (synopsis "Microframework based on Werkzeug, Jinja2 and good intentions") | ||
| 8277 | (description "Flask is a micro web framework based on the Werkzeug toolkit | ||
| 8278 | and Jinja2 template engine. It is called a micro framework because it does not | ||
| 8279 | presume or force a developer to use a particular tool or library.") | ||
| 8280 | (license bsd-3) | ||
| 8281 | (properties `((python2-variant . ,(delay python2-flask)))))) | ||
| 8282 | |||
| 8283 | (define-public python2-flask | ||
| 8284 | (package (inherit (package-with-python2 | ||
| 8285 | (strip-python2-variant python-flask))) | ||
| 8286 | (native-inputs `(("python2-setuptools" ,python2-setuptools))))) | ||
