17 # optional-dependencies
25 # reverse dependencies
32 buildPythonPackage rec {
38 inherit pname version;
39 hash = "sha256-giwD9LeZIEJQp+6Ese3cQGZTlTM5c9+53uv+Ql/vy30=";
46 propagatedBuildInputs = [
52 ] ++ lib.optionals (pythonOlder "3.10") [
56 passthru.optional-dependencies = {
67 ] ++ lib.optionals (pythonOlder "3.11") [
69 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
72 inherit flask-limiter flask-restful flask-restx moto;
76 changelog = "https://flask.palletsprojects.com/en/${versions.majorMinor version}.x/changes/#version-${replaceStrings [ "." ] [ "-" ] version}";
77 homepage = "https://flask.palletsprojects.com/";
78 description = "The Python micro framework for building web applications";
79 mainProgram = "flask";
81 Flask is a lightweight WSGI web application framework. It is
82 designed to make getting started quick and easy, with the ability
83 to scale up to complex applications. It began as a simple wrapper
84 around Werkzeug and Jinja and has become one of the most popular
85 Python web application frameworks.
87 license = licenses.bsd3;
88 maintainers = with maintainers; [ nickcao ];