From 4c4a73d52138f14b1362bff9872e14b1d8f78b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 16 Nov 2025 07:38:32 -0800 Subject: [PATCH] mopidyPackages.mopidy-spotify: remove unnecessary optional dependencies We don't include development dependencies in optional-dependencies. --- pkgs/applications/audio/mopidy/spotify.nix | 23 ++++------------------ 1 file changed, 4 insertions(+), 19 deletions(-) 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" ];