python2Packages.flask: reinit at 1.1.2
This commit is contained in:
parent
1d623ad018
commit
2423806300
28
pkgs/development/python-modules/flask/1.nix
Normal file
28
pkgs/development/python-modules/flask/1.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, itsdangerous, click, werkzeug, jinja2, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.1.2";
|
||||
pname = "Flask";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ itsdangerous click werkzeug jinja2 ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
# Tests require extra dependencies
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://flask.pocoo.org/";
|
||||
description = "A microframework based on Werkzeug, Jinja 2, and good intentions";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
@ -100,6 +100,8 @@ with self; with super; {
|
||||
|
||||
feedparser = callPackage ../development/python-modules/feedparser/5.nix { };
|
||||
|
||||
flask = callPackage ../development/python-modules/flask/1.nix { };
|
||||
|
||||
flask_ldap_login = callPackage ../development/python-modules/flask-ldap-login { };
|
||||
|
||||
flit = disabled super.flit;
|
||||
|
Loading…
Reference in New Issue
Block a user