mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
home-assistant.custom-components.govee-lan: init at unstable-2023-06-10
This commit is contained in:
parent
a478af89f1
commit
b363b8510f
|
@ -3,6 +3,10 @@
|
|||
|
||||
{
|
||||
adaptive_lighting = callPackage ./adaptive_lighting {};
|
||||
|
||||
govee-lan = callPackage ./govee-lan {};
|
||||
|
||||
miele = callPackage ./miele {};
|
||||
|
||||
prometheus_sensor = callPackage ./prometheus_sensor {};
|
||||
}
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, buildHomeAssistantComponent
|
||||
, fetchFromGitHub
|
||||
, govee-led-wez
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent {
|
||||
owner = "wez";
|
||||
domain = "govee_lan";
|
||||
version = "unstable-2023-06-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wez";
|
||||
repo = "govee-lan-hass";
|
||||
rev = "18d8455510d158496f7e5d4f0286f58bd61042bb";
|
||||
hash = "sha256-ZhrxEPBEi+Z+2ZOAQ1amhO0tqvhM6tyFQgoRIVNDtXY=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
govee-led-wez
|
||||
];
|
||||
|
||||
# enable when pytest-homeassistant-custom-component is packaged
|
||||
doCheck = false;
|
||||
|
||||
# nativeCheckInputs = [
|
||||
# pytest-homeassistant-custom-component
|
||||
# pytestCheckHook
|
||||
# ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Control Govee lights via the LAN API from Home Assistant";
|
||||
homepage = "https://github.com/wez/govee-lan-hass";
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue