1{ lib
2, buildPythonPackage
3, fetchPypi
4, asgiref
5, click
6, itsdangerous
7, jinja2
8, python-dotenv
9, werkzeug
10, pytestCheckHook
11}:
12
13buildPythonPackage rec {
14 version = "2.0.2";
15 pname = "Flask";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "7b2fb8e934ddd50731893bdcdb00fc8c0315916f9fcd50d22c7cc1a95ab634e2";
20 };
21
22 propagatedBuildInputs = [
23 asgiref
24 python-dotenv
25 click
26 itsdangerous
27 jinja2
28 werkzeug
29 ];
30
31 checkInputs = [
32 pytestCheckHook
33 ];
34
35 meta = with lib; {
36 homepage = "http://flask.pocoo.org/";
37 description = "The Python micro framework for building web applications";
38 longDescription = ''
39 Flask is a lightweight WSGI web application framework. It is
40 designed to make getting started quick and easy, with the ability
41 to scale up to complex applications. It began as a simple wrapper
42 around Werkzeug and Jinja and has become one of the most popular
43 Python web application frameworks.
44 '';
45 license = licenses.bsd3;
46 };
47}