home-assistant: run versionCheckHook
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user