diff --git a/pkgs/development/python-modules/py-madvr2/default.nix b/pkgs/development/python-modules/py-madvr2/default.nix index c207e58f6fe0..e7409d52d411 100644 --- a/pkgs/development/python-modules/py-madvr2/default.nix +++ b/pkgs/development/python-modules/py-madvr2/default.nix @@ -9,27 +9,37 @@ buildPythonPackage rec { pname = "py-madvr2"; - version = "1.6.33"; + version = "1.8.14"; pyproject = true; src = fetchFromGitHub { owner = "iloveicedgreentea"; repo = "py-madvr"; tag = "v${version}"; - hash = "sha256-z+PVLz9eApGJ94I/Jp0MyqNpKQwIemk8j+OyqFmIbgI="; + hash = "sha256-7zYvbEoPlY49YZ9Akq+SfzMmqClrr3xTszVW2FUx62Y="; }; build-system = [ setuptools ]; - pythonImportsCheck = [ "madvr" ]; + pythonImportsCheck = [ "pymadvr" ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; + disabledTests = [ + # AssertionError: Expected 'mock' to have been called once. Called 0 times. + "test_power_off" + # tests connect to 192.168.1.100 + "test_basic_connection" + "test_display_message" + "test_ha_command_formats" + "test_open_connection" + ]; + meta = { - changelog = "https://github.com/iloveicedgreentea/py-madvr/releases/tag/v${version}"; + changelog = "https://github.com/iloveicedgreentea/py-madvr/releases/tag/${src.tag}"; description = "Control MadVR Envy over IP"; homepage = "https://github.com/iloveicedgreentea/py-madvr"; license = lib.licenses.mit;