3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/flask/default.nix

29 lines
671 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi
2017-09-06 16:31:38 +01:00
, itsdangerous, click, werkzeug, jinja2, pytest }:
buildPythonPackage rec {
2018-06-12 17:47:00 +01:00
version = "1.0.2";
pname = "Flask";
src = fetchPypi {
inherit pname version;
2018-06-12 17:47:00 +01:00
sha256 = "2271c0070dbcb5275fad4a82e29f23ab92682dc45f9dfbc22c02ba9b9322ce48";
};
2017-09-06 16:31:38 +01:00
checkInputs = [ pytest ];
propagatedBuildInputs = [ itsdangerous click werkzeug jinja2 ];
2017-09-06 16:31:38 +01:00
checkPhase = ''
py.test
'';
# Tests require extra dependencies
doCheck = false;
meta = with stdenv.lib; {
homepage = http://flask.pocoo.org/;
description = "A microframework based on Werkzeug, Jinja 2, and good intentions";
license = licenses.bsd3;
};
}