diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 9b83ecd0518d..b1967573f896 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -12,7 +12,7 @@ inetutils, nixosTests, home-assistant, - testers, + versionCheckHook, # Look up dependencies of specified components in component-packages.nix extraComponents ? [ ], @@ -426,6 +426,7 @@ python.pkgs.buildPythonApplication rec { nativeCheckInputs = requirementsTest + ++ [ versionCheckHook ] ++ (with python.pkgs; [ # Used in tests/non_packaged_scripts/test_alexa_locales.py beautifulsoup4 @@ -499,10 +500,6 @@ python.pkgs.buildPythonApplication rec { tests = { nixos = nixosTests.home-assistant; components = callPackage ./tests.nix { }; - version = testers.testVersion { - package = home-assistant; - command = "hass --version"; - }; withoutCheckDeps = home-assistant.overridePythonAttrs { pname = "home-assistant-without-check-deps"; doCheck = false;