pythonPackages.flask: Move optional deps to passthru

This commit is contained in:
Sebastian Jordan 2023-01-17 09:52:08 +01:00 committed by Martin Weinelt
parent 4a9ddc5515
commit 3f1c8de711

View file

@ -28,8 +28,6 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
asgiref
python-dotenv
click
itsdangerous
jinja2
@ -43,6 +41,10 @@ buildPythonPackage rec {
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/";