2021-06-28 23:13:55 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, asgiref
|
|
|
|
, click
|
|
|
|
, itsdangerous
|
|
|
|
, jinja2
|
|
|
|
, python-dotenv
|
|
|
|
, werkzeug
|
2022-02-10 20:34:41 +00:00
|
|
|
, setuptools
|
2021-06-28 23:13:55 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "2.0.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "Flask";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "7b2fb8e934ddd50731893bdcdb00fc8c0315916f9fcd50d22c7cc1a95ab634e2";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
asgiref
|
|
|
|
python-dotenv
|
|
|
|
click
|
|
|
|
itsdangerous
|
|
|
|
jinja2
|
|
|
|
werkzeug
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
# required for CLI subcommand autodiscovery
|
|
|
|
# see: https://github.com/pallets/flask/blob/fdac8a5404e3e3a316568107a293f134707c75bb/src/flask/cli.py#L498
|
|
|
|
setuptools
|
2021-06-28 23:13:55 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://flask.pocoo.org/";
|
2021-06-28 23:13:55 +00:00
|
|
|
description = "The Python micro framework for building web applications";
|
|
|
|
longDescription = ''
|
|
|
|
Flask is a lightweight WSGI web application framework. It is
|
|
|
|
designed to make getting started quick and easy, with the ability
|
|
|
|
to scale up to complex applications. It began as a simple wrapper
|
|
|
|
around Werkzeug and Jinja and has become one of the most popular
|
|
|
|
Python web application frameworks.
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|