18 # optional-dependencies
26 # reverse dependencies
33 buildPythonPackage rec {
39 inherit pname version;
40 hash = "sha256-zrJ7CvOCPqJzeSik2Z0SWgYXW4USxEXL2anOIA73aEI=";
43 nativeBuildInputs = [ flit-core ];
45 propagatedBuildInputs = [
51 ] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
53 optional-dependencies = {
55 dotenv = [ python-dotenv ];
60 ++ lib.optionals (pythonOlder "3.11") [ greenlet ]
61 ++ lib.flatten (builtins.attrValues optional-dependencies);
73 changelog = "https://flask.palletsprojects.com/en/${versions.majorMinor version}.x/changes/#version-${
74 replaceStrings [ "." ] [ "-" ] version
76 homepage = "https://flask.palletsprojects.com/";
77 description = "Python micro framework for building web applications";
78 mainProgram = "flask";
80 Flask is a lightweight WSGI web application framework. It is
81 designed to make getting started quick and easy, with the ability
82 to scale up to complex applications. It began as a simple wrapper
83 around Werkzeug and Jinja and has become one of the most popular
84 Python web application frameworks.
86 license = licenses.bsd3;
87 maintainers = with maintainers; [ nickcao ];