30 lines
779 B
Nix
30 lines
779 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
buildHomeAssistantComponent,
|
||
|
|
fetchFromGitHub,
|
||
|
|
midea-local,
|
||
|
|
}:
|
||
|
|
|
||
|
|
buildHomeAssistantComponent rec {
|
||
|
|
owner = "wuwentao";
|
||
|
|
domain = "midea_ac_lan";
|
||
|
|
version = "0.6.9";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
inherit owner;
|
||
|
|
repo = domain;
|
||
|
|
tag = "v${version}";
|
||
|
|
hash = "sha256-pPPJFs4earRbh6ovR57k9xgZtrYN0L26eupOoFuBVz8=";
|
||
|
|
};
|
||
|
|
|
||
|
|
dependencies = [ midea-local ];
|
||
|
|
|
||
|
|
meta = with lib; {
|
||
|
|
description = "Auto-configure and then control your Midea M-Smart devices (Air conditioner, Fan, Water heater, Washer, etc) via local area network";
|
||
|
|
homepage = "https://github.com/wuwentao/midea_ac_lan/";
|
||
|
|
changelog = "https://github.com/wuwentao/midea_ac_lan/releases/tag/v${version}";
|
||
|
|
maintainers = with maintainers; [ k900 ];
|
||
|
|
license = licenses.mit;
|
||
|
|
};
|
||
|
|
}
|