From cff8685603ebec65c2b4f55fd2c315fdb56260fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 1 Aug 2026 20:14:47 -0700 Subject: [PATCH] python3Packages.hass-client: 1.2.3 -> 1.3.0 Diff: https://github.com/music-assistant/python-hass-client/compare/1.2.3...1.3.0 Changelog: https://github.com/music-assistant/python-hass-client/releases/tag/1.3.0 --- .../python-modules/hass-client/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/hass-client/default.nix b/pkgs/development/python-modules/hass-client/default.nix index ba0fdc3aec80..9ec2b892b8ec 100644 --- a/pkgs/development/python-modules/hass-client/default.nix +++ b/pkgs/development/python-modules/hass-client/default.nix @@ -7,19 +7,22 @@ fetchFromGitHub, lib, orjson, + pytest-asyncio, + pytest-cov-stub, + pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "hass-client"; - version = "1.2.3"; + version = "1.3.0"; pyproject = true; src = fetchFromGitHub { owner = "music-assistant"; repo = "python-hass-client"; tag = version; - hash = "sha256-uCVwxa/KTiOmaexmdeynL2LSqBhDu8Zfre+Nh9Oauiw="; + hash = "sha256-mrS3kuG/6ZE02B0Ua10AAAsgVBrEDRJxNfmIHT+EHWw="; }; postPatch = '' @@ -48,8 +51,11 @@ buildPythonPackage rec { "hass_client" ]; - # upstream has no tests - doCheck = false; + nativeCheckInputs = [ + pytest-asyncio + pytest-cov-stub + pytestCheckHook + ]; meta = { changelog = "https://github.com/music-assistant/python-hass-client/releases/tag/${version}";