Merge pull request #207124 from mweinelt/home-assistant
This commit is contained in:
commit
a5cf714ba2
|
@ -8,6 +8,8 @@
|
||||||
, ffmpeg-headless
|
, ffmpeg-headless
|
||||||
, inetutils
|
, inetutils
|
||||||
, nixosTests
|
, nixosTests
|
||||||
|
, home-assistant
|
||||||
|
, testers
|
||||||
|
|
||||||
# Look up dependencies of specified components in component-packages.nix
|
# Look up dependencies of specified components in component-packages.nix
|
||||||
, extraComponents ? [ ]
|
, extraComponents ? [ ]
|
||||||
|
@ -206,7 +208,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||||
owner = "home-assistant";
|
owner = "home-assistant";
|
||||||
repo = "core";
|
repo = "core";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-9dukY04sh35kj5vUbNmqnN+MPGqJT/YUuHC64pHzWjw=";
|
hash = "sha256-JV7oWTWlWCeaJyiM+43D3XyZ6qR07zfDJDijmTybXfk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# leave this in, so users don't have to constantly update their downstream patch handling
|
# leave this in, so users don't have to constantly update their downstream patch handling
|
||||||
|
@ -359,6 +361,10 @@ in python.pkgs.buildPythonApplication rec {
|
||||||
tests = {
|
tests = {
|
||||||
nixos = nixosTests.home-assistant;
|
nixos = nixosTests.home-assistant;
|
||||||
components = callPackage ./tests.nix { };
|
components = callPackage ./tests.nix { };
|
||||||
|
version = testers.testVersion {
|
||||||
|
package = home-assistant;
|
||||||
|
command = "hass --version";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue