diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-12-21 17:45:07 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-12-21 17:45:07 +0100 |
commit | 5354e33e4aa4552b482e30500ca44599899c1960 (patch) | |
tree | fdc5ff77beffb9b2e7ff407e1d1c887bfdf83773 /pkgs/servers/home-assistant | |
parent | ed92b8d5146643618c5c033d9b1f63d9101f0aa7 (diff) |
home-assistant: add version tester
Yell at me if I fail to update the src hash.
Diffstat (limited to 'pkgs/servers/home-assistant')
-rw-r--r-- | pkgs/servers/home-assistant/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 12cb7778cdfee..438627aada3f3 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -8,6 +8,8 @@ , ffmpeg-headless , inetutils , nixosTests +, home-assistant +, testers # Look up dependencies of specified components in component-packages.nix , extraComponents ? [ ] @@ -359,6 +361,10 @@ in python.pkgs.buildPythonApplication rec { tests = { nixos = nixosTests.home-assistant; components = callPackage ./tests.nix { }; + version = testers.testVersion { + package = home-assistant; + command = "hass --version"; + }; }; }; |