@@ -1,4 +1,4 @@
1−{ lib, fetchurl, fetchFromGitHub, fetchpatch, python3, protobuf3_6
1+{ stdenv, lib, fetchurl, fetchFromGitHub, fetchpatch, python3, protobuf3_6
22
33# Look up dependencies of specified components in component-packages.nix
44, extraComponents ? [ ]
@@ -98,6 +98,9 @@ in with py.pkgs; buildPythonApplication rec {
9898 sqlalchemy aiohttp-cors hass-frontend pyotp pyqrcode ciso8601
9999 ] ++ componentBuildInputs ++ extraBuildInputs;
100100
101+ # upstream only tests on Linux, so do we.
102+ doCheck = stdenv.isLinux;
103+
101104 checkInputs = [
102105 asynctest pytest pytest-aiohttp requests-mock hass-nabucasa netdisco pydispatcher
103106 ];