Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 28 lines 671 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, itsdangerous, click, werkzeug, jinja2, pytest }: 3 4buildPythonPackage rec { 5 version = "1.0.4"; 6 pname = "Flask"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "ed1330220a321138de53ec7c534c3d90cf2f7af938c7880fc3da13aa46bf870f"; 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 stdenv.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}