{ fetchFromGitHub, python3Packages, buildHomeAssistantComponent }: buildHomeAssistantComponent { owner = "zewelor"; domain = "color_recognizer"; version = "6e99269"; # dependencies = [ "spotify" ]; src = fetchFromGitHub { owner = "zewelor"; repo = "ha_custom_components"; rev = "6e99269"; sha256 = "sha256-0Qgtt5gMOUZQphUkI6uYiZ/A8xsXP1eMrVlC+EmjXj8="; }; prePatch = '' mkdir custom_components cp -a color_recognizer/ custom_components/ ''; propagatedBuildInputs = [ python3Packages.numpy python3Packages.scipy python3Packages.voluptuous python3Packages.pillow ]; doCheck = false; pythonImportsCheck = [ "PIL" "numpy" "scipy" "voluptuous" ]; # installPhase = '' # runHook preInstall # cp -a color_recognizer $out # runHook postInstall # ''; }