depot/pkgs/servers/home-assistant/custom-components/midea-air-appliances-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
888 B
Nix

{ lib
, buildHomeAssistantComponent
, fetchFromGitHub
, midea-beautiful-air
}:
buildHomeAssistantComponent rec {
owner = "nbogojevic";
domain = "midea_dehumidifier_lan";
version = "0.9.4";
src = fetchFromGitHub {
inherit owner;
repo = "homeassistant-midea-air-appliances-lan";
rev = "v${version}";
hash = "sha256-Fl8qwsW9NdjnYdu7IGQDelXTLqNx5ioUoxkhv+p5L0I=";
};
propagatedBuildInputs = [ midea-beautiful-air ];
meta = with lib; {
description = "Home Assistant custom component adding support for controlling Midea air conditioners and dehumidifiers on local network";
homepage = "https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan";
changelog = "https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan/releases/tag/v${version}";
maintainers = with maintainers; [ k900 ];
license = licenses.mit;
};
}