home-assistant: run versionCheckHook

This commit is contained in:
Robert Schütz
2026-02-06 17:34:07 -08:00
parent dfa23cdd5f
commit 98deca80fb
+2 -5
View File
@@ -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;