about summary refs log tree commit diff
path: root/pkgs/servers/home-assistant/custom-components/midea_ac_lan/default.nix
blob: 7123389e8bc19488dd754cf165c82d512a044058 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib
, buildHomeAssistantComponent
, fetchFromGitHub
}:

buildHomeAssistantComponent rec {
  owner = "georgezhao2010";
  domain = "midea_ac_lan";
  version = "0.3.22";

  src = fetchFromGitHub {
    inherit owner;
    repo = domain;
    rev = "v${version}";
    hash = "sha256-xTnbA4GztHOE61QObEJbzUSdbuSrhbcJ280DUDdM+n4=";
  };

  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/georgezhao2010/midea_ac_lan/";
    changelog = "https://github.com/georgezhao2010/midea_ac_lan/releases/tag/v${version}";
    maintainers = with maintainers; [ k900 ];
    license = licenses.mit;
  };
}