Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
923 B
Nix
40 lines
923 B
Nix
{
|
|
lib,
|
|
buildHomeAssistantComponent,
|
|
fetchFromGitHub,
|
|
msmart-ng,
|
|
pytestCheckHook,
|
|
pytest-homeassistant-custom-component,
|
|
}:
|
|
|
|
buildHomeAssistantComponent rec {
|
|
owner = "mill1000";
|
|
domain = "midea_ac";
|
|
version = "2025.9.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mill1000";
|
|
repo = "midea-ac-py";
|
|
tag = version;
|
|
hash = "sha256-fmVX+b7x4+172+mcJ8+LFhljQEQrhLFXwXn6eI1f36Y=";
|
|
};
|
|
|
|
dependencies = [ msmart-ng ];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-homeassistant-custom-component
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/mill1000/midea-ac-py/releases/tag/${src.tag}";
|
|
description = "Home Assistant custom integration to control Midea (and associated brands) air conditioners via LAN";
|
|
homepage = "https://github.com/mill1000/midea-ac-py";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [
|
|
hexa
|
|
emilylange
|
|
];
|
|
};
|
|
}
|