diff --git a/pkgs/applications/audio/mopidy/spotify.nix b/pkgs/applications/audio/mopidy/spotify.nix index 876f6c2d67c7..c830950dbac9 100644 --- a/pkgs/applications/audio/mopidy/spotify.nix +++ b/pkgs/applications/audio/mopidy/spotify.nix @@ -26,25 +26,10 @@ pythonPackages.buildPythonApplication rec { pythonPackages.requests ]; - optional-dependencies = { - lint = with pythonPackages; [ - black - check-manifest - flake8 - flake8-bugbear - isort - ]; - - test = with pythonPackages; [ - pytest - pytest-cov - responses - ]; - - dev = optional-dependencies.lint ++ optional-dependencies.test ++ [ pythonPackages.tox ]; - }; - - nativeCheckInputs = [ pythonPackages.pytestCheckHook ] ++ optional-dependencies.test; + nativeCheckInputs = [ + pythonPackages.pytestCheckHook + pythonPackages.responses + ]; pythonImportsCheck = [ "mopidy_spotify" ];