diff --git a/pkgs/development/python-modules/music-assistant-models/default.nix b/pkgs/development/python-modules/music-assistant-models/default.nix index 53b569f33c6e..c1634a547b21 100644 --- a/pkgs/development/python-modules/music-assistant-models/default.nix +++ b/pkgs/development/python-modules/music-assistant-models/default.nix @@ -13,18 +13,21 @@ # tests pytestCheckHook, pytest-cov-stub, + + # reverse dependencies + music-assistant-client, }: buildPythonPackage rec { pname = "music-assistant-models"; - version = "1.1.17"; + version = "1.1.3"; # Must be compatible with music-assistant-client package pyproject = true; src = fetchFromGitHub { owner = "music-assistant"; repo = "models"; - tag = version; - hash = "sha256-ggP5swX0MWjWqc2H/cbx/sbHhVHLTImJsocX5ZkHB0s="; + tag = "v${version}"; + hash = "sha256-FbnwUfAwCwwBKqEUtb2ZBxHehFwJdr9YkuWKox018BY="; }; postPatch = '' @@ -48,6 +51,10 @@ buildPythonPackage rec { "music_assistant_models" ]; + passthru.tests = { + inherit music-assistant-client; + }; + meta = { description = "Models used by Music Assistant (shared by client and server"; homepage = "https://github.com/music-assistant/models";