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
51 lines
969 B
Nix
51 lines
969 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
aiofiles,
|
|
aiohttp,
|
|
colorlog,
|
|
commonregex,
|
|
defusedxml,
|
|
deprecated,
|
|
ifaddr,
|
|
pycryptodome,
|
|
platformdirs,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "midea-local";
|
|
version = "6.4.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "midea-lan";
|
|
repo = "midea-local";
|
|
tag = "v${version}";
|
|
hash = "sha256-jeQ5PXkKxVz041VJ58lJVpqIoj1Y054VADFtnutddg4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiofiles
|
|
aiohttp
|
|
colorlog
|
|
commonregex
|
|
defusedxml
|
|
deprecated
|
|
ifaddr
|
|
pycryptodome
|
|
platformdirs
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Control your Midea M-Smart appliances via local area network";
|
|
homepage = "https://github.com/midea-lan/midea-local";
|
|
changelog = "https://github.com/midea-lan/midea-local/releases/tag/${src.tag}";
|
|
maintainers = with maintainers; [ k900 ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|