python312Packages.midea-local: init at 6.0.3

This commit is contained in:
K900
2025-01-05 22:42:19 +03:00
parent 12672f38a1
commit 76b688c193
2 changed files with 52 additions and 0 deletions
@@ -0,0 +1,50 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiofiles,
aiohttp,
colorlog,
commonregex,
defusedxml,
deprecated,
ifaddr,
pycryptodome,
platformdirs,
}:
buildPythonPackage rec {
pname = "midea-local";
version = "6.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "midea-lan";
repo = pname;
tag = "v${version}";
hash = "sha256-Q0ua0cIYfZ60RzrRNatx+a1nz1f51rR2D5IS5abXKME=";
};
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/v${version}";
maintainers = with maintainers; [ k900 ];
license = licenses.mit;
};
}
+2
View File
@@ -8163,6 +8163,8 @@ self: super: with self; {
midea-beautiful-air = callPackage ../development/python-modules/midea-beautiful-air { };
midea-local = callPackage ../development/python-modules/midea-local { };
midiutil = callPackage ../development/python-modules/midiutil { };
mido = callPackage ../development/python-modules/mido { };