Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 69 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ lib, buildPythonPackage, fetchPypi, asgiref, blinker, click, flit-core, importlib-metadata, itsdangerous, jinja2, python-dotenv, werkzeug, pytestCheckHook, pythonOlder # used in passthru.tests, flask-limiter, flask-restful, flask-restx, moto}:
buildPythonPackage rec { pname = "flask"; version = "2.3.3"; format = "pyproject";
src = fetchPypi { inherit pname version; hash = "sha256-CcNHqSqn/0qOfzIGeV8w2CZlS684uHPQdEzVccpgnvw="; };
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ click blinker itsdangerous jinja2 werkzeug ] ++ lib.optional (pythonOlder "3.10") importlib-metadata;
nativeCheckInputs = [ pytestCheckHook ];
passthru.tests = { inherit flask-limiter flask-restful flask-restx moto; }; passthru.optional-dependencies = { dotenv = [ python-dotenv ]; async = [ asgiref ]; };
meta = with lib; { homepage = "https://flask.palletsprojects.com/"; 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. ''; license = licenses.bsd3; maintainers = with maintainers; [ nickcao ]; };}