nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python2Packages.flask: reinit at 1.1.2

authored by

Martin Weinelt and committed by
Jonathan Ringer
24238063 1d623ad0

+30
+28
pkgs/development/python-modules/flask/1.nix
··· 1 + { lib, buildPythonPackage, fetchPypi 2 + , itsdangerous, click, werkzeug, jinja2, pytest }: 3 + 4 + buildPythonPackage rec { 5 + version = "1.1.2"; 6 + pname = "Flask"; 7 + 8 + src = fetchPypi { 9 + inherit pname version; 10 + sha256 = "4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060"; 11 + }; 12 + 13 + checkInputs = [ pytest ]; 14 + propagatedBuildInputs = [ itsdangerous click werkzeug jinja2 ]; 15 + 16 + checkPhase = '' 17 + py.test 18 + ''; 19 + 20 + # Tests require extra dependencies 21 + doCheck = false; 22 + 23 + meta = with lib; { 24 + homepage = "http://flask.pocoo.org/"; 25 + description = "A microframework based on Werkzeug, Jinja 2, and good intentions"; 26 + license = licenses.bsd3; 27 + }; 28 + }
+2
pkgs/top-level/python2-packages.nix
··· 100 100 101 101 feedparser = callPackage ../development/python-modules/feedparser/5.nix { }; 102 102 103 + flask = callPackage ../development/python-modules/flask/1.nix { }; 104 + 103 105 flask_ldap_login = callPackage ../development/python-modules/flask-ldap-login { }; 104 106 105 107 flit = disabled super.flit;