python3Packages.social-auth-core: simplify passing optional-dependencies into checkInputs

This commit is contained in:
Martin Weinelt 2022-10-05 02:05:37 +02:00 committed by Martin Weinelt
parent 92a3dbd7f3
commit f9176cf7cd

View File

@ -56,9 +56,7 @@ buildPythonPackage rec {
checkInputs = [
pytestCheckHook
httpretty
] ++ passthru.optional-dependencies.openidconnect
++ passthru.optional-dependencies.saml
++ passthru.optional-dependencies.azuread;
] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
# Disable checking the code coverage
prePatch = ''