depot/pkgs/servers/home-assistant/custom-components/midea_ac_lan/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

28 lines
794 B
Nix

{ lib
, buildHomeAssistantComponent
, fetchFromGitHub
, pycryptodome
}:
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=";
};
dependencies = [ pycryptodome ];
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;
};
}