2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2017-09-06 16:31:38 +01:00
|
|
|
, itsdangerous, click, werkzeug, jinja2, pytest }:
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-05-09 11:01:48 +01:00
|
|
|
version = "1.1.2";
|
2017-09-05 10:16:41 +01:00
|
|
|
pname = "Flask";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:01:48 +01:00
|
|
|
sha256 = "4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060";
|
2017-09-05 10:16:41 +01:00
|
|
|
};
|
|
|
|
|
2017-09-06 16:31:38 +01:00
|
|
|
checkInputs = [ pytest ];
|
2017-09-05 10:16:41 +01:00
|
|
|
propagatedBuildInputs = [ itsdangerous click werkzeug jinja2 ];
|
|
|
|
|
2017-09-06 16:31:38 +01:00
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
# Tests require extra dependencies
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://flask.pocoo.org/";
|
2017-09-05 10:16:41 +01:00
|
|
|
description = "A microframework based on Werkzeug, Jinja 2, and good intentions";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|