diff --git a/pkgs/development/python-modules/pymitsubishi/default.nix b/pkgs/development/python-modules/pymitsubishi/default.nix index 64184d126a94..241556be6829 100644 --- a/pkgs/development/python-modules/pymitsubishi/default.nix +++ b/pkgs/development/python-modules/pymitsubishi/default.nix @@ -5,19 +5,20 @@ setuptools, requests, pycryptodome, + pytest-cov-stub, pytestCheckHook, }: buildPythonPackage rec { pname = "pymitsubishi"; - version = "0.1.8"; + version = "0.3.0"; pyproject = true; src = fetchFromGitHub { owner = "pymitsubishi"; repo = "pymitsubishi"; tag = "v${version}"; - hash = "sha256-hawPxP8WqpHUikmbcSFIjSeSTNyWu1zYtgT/TCPbOro="; + hash = "sha256-cfLKFvhzLN9dM0cMogCL93LVfRd8jDFo9x+nnEWInSc="; }; build-system = [ setuptools ]; @@ -27,12 +28,15 @@ buildPythonPackage rec { pycryptodome ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytest-cov-stub + pytestCheckHook + ]; pythonImportsCheck = [ "pymitsubishi" ]; meta = { - description = "A Python library for controlling and monitoring Mitsubishi MAC-577IF-2E air conditioners"; + description = "Library for controlling and monitoring Mitsubishi MAC-577IF-2E air conditioners"; homepage = "https://github.com/pymitsubishi/pymitsubishi"; changelog = "https://github.com/pymitsubishi/pymitsubishi/releases/tag/${src.tag}"; license = lib.licenses.mit; diff --git a/pkgs/servers/home-assistant/custom-components/mitsubishi/package.nix b/pkgs/servers/home-assistant/custom-components/mitsubishi/package.nix index 8157e57eaf13..67d80f81a247 100644 --- a/pkgs/servers/home-assistant/custom-components/mitsubishi/package.nix +++ b/pkgs/servers/home-assistant/custom-components/mitsubishi/package.nix @@ -11,13 +11,13 @@ buildHomeAssistantComponent rec { owner = "pymitsubishi"; domain = "mitsubishi"; - version = "0.1.8"; + version = "0.2.0"; src = fetchFromGitHub { owner = "pymitsubishi"; repo = "homeassistant-mitsubishi"; tag = "v${version}"; - hash = "sha256-qxYdE70APMO+ydv+lQzJY3gRYr/y5p0zJSgPt/k1cys="; + hash = "sha256-V8fT/w7a/uUN4yKJ+jB6UUQDP6dif80MvlqV9n4KENc="; }; dependencies = [