[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/14: gnu: Add python-flask.
From: |
Leo Famulari |
Subject: |
04/14: gnu: Add python-flask. |
Date: |
Fri, 18 Mar 2016 18:28:17 +0000 |
lfam pushed a commit to branch master
in repository guix.
commit f3b3d78fbc3c2c98e2d403c1fd102560ae292c98
Author: Leo Famulari <address@hidden>
Date: Sun Feb 14 02:03:38 2016 -0500
gnu: Add python-flask.
* gnu/packages/python.scm (python-flask, python2-flask): New variables.
---
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 aab239f..d7828fb 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8256,3 +8256,31 @@ useful for solving the Assignment Problem.")
(define-public python2-munkres
(package-with-python2 python-munkres))
+
+(define-public python-flask
+ (package
+ (name "python-flask")
+ (version "0.10.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "Flask" version))
+ (sha256
+ (base32
+ "0wrkavjdjndknhp8ya8j850jq7a1cli4g5a93mg8nh1xz2gq50sc"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-itsdangerous" ,python-itsdangerous)
+ ("python-jinja2" ,python-jinja2)
+ ("python-werkzeug" ,python-werkzeug)))
+ (home-page "https://github.com/mitsuhiko/flask/")
+ (synopsis "Microframework based on Werkzeug, Jinja2 and good intentions")
+ (description "Flask is a micro web framework based on the Werkzeug toolkit
+and Jinja2 template engine. It is called a micro framework because it does not
+presume or force a developer to use a particular tool or library.")
+ (license bsd-3)
+ (properties `((python2-variant . ,(delay python2-flask))))))
+
+(define-public python2-flask
+ (package (inherit (package-with-python2
+ (strip-python2-variant python-flask)))
+ (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
- branch master updated (0e0fd3e -> 3bf429a), Leo Famulari, 2016/03/18
- 10/14: gnu: Add python-mpd2., Leo Famulari, 2016/03/18
- 12/14: gnu: Add python2-unicodecsv., Leo Famulari, 2016/03/18
- 04/14: gnu: Add python-flask.,
Leo Famulari <=
- 06/14: gnu: Add python-pylast., Leo Famulari, 2016/03/18
- 07/14: gnu: Add python-cookies., Leo Famulari, 2016/03/18
- 11/14: gnu: Add python-jellyfish., Leo Famulari, 2016/03/18
- 09/14: gnu: Add python2-pathlib., Leo Famulari, 2016/03/18
- 02/14: gnu: Add python-munkres., Leo Famulari, 2016/03/18
- 03/14: gnu: Add python-musicbrainzngs., Leo Famulari, 2016/03/18
- 14/14: gnu: Add beets., Leo Famulari, 2016/03/18
- 01/14: gnu: Add python-mutagen., Leo Famulari, 2016/03/18
- 13/14: gnu: Add python-rarfile., Leo Famulari, 2016/03/18
- 08/14: gnu: Add python-responses., Leo Famulari, 2016/03/18