diff --git a/pkgs/servers/home-assistant/custom-components/thewatchman/package.nix b/pkgs/servers/home-assistant/custom-components/thewatchman/package.nix index b6844bdeaed4..a29cee8ff3b7 100644 --- a/pkgs/servers/home-assistant/custom-components/thewatchman/package.nix +++ b/pkgs/servers/home-assistant/custom-components/thewatchman/package.nix @@ -11,21 +11,18 @@ buildHomeAssistantComponent rec { owner = "dummylabs"; domain = "watchman"; - version = "0.7.0-beta.1"; + version = "0.8.3"; src = fetchFromGitHub { owner = "dummylabs"; repo = "thewatchman"; tag = "v${version}"; - hash = "sha256-U2AYxQ37XQocHcnY2Uv9Lhu0LmEZhhcGdO29i565tBM="; + hash = "sha256-5BXIKh8uPKuxsLbxu0fUbuCR2LYOXk1HpOvrqehg0u0="; }; postPatch = '' substituteInPlace custom_components/watchman/manifest.json \ --replace-fail "prettytable==3.12.0" "prettytable" - - substituteInPlace tests/{__init__,test_{action,regex,report}}.py \ - --replace-fail "/workspaces/thewatchman/" "" ''; dontBuild = true; @@ -40,6 +37,11 @@ buildHomeAssistantComponent rec { pytestCheckHook ]; + disabledTests = [ + # the test relies on NOT changing the hass config_dir and tries to write into the nix store + "test_status_sensor_safe_mode" + ]; + meta = { description = "Keep track of missing entities and services in your config files"; homepage = "https://github.com/dummylabs/thewatchman";