home-assistant-custom-components.midea_ac_lan: use maintained fork (#371213)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "commonregex";
|
||||
version = "1.5.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-JxUwZ4rYr1PA6MIzp2JZeWnoRtACnxIhWsF4eR894KU=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A collection of common regular expressions bundled with an easy to use interface";
|
||||
homepage = "https://github.com/madisonmay/CommonRegex";
|
||||
maintainers = with maintainers; [ k900 ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -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,27 +2,27 @@
|
||||
lib,
|
||||
buildHomeAssistantComponent,
|
||||
fetchFromGitHub,
|
||||
pycryptodome,
|
||||
midea-local,
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "georgezhao2010";
|
||||
owner = "wuwentao";
|
||||
domain = "midea_ac_lan";
|
||||
version = "0.3.22";
|
||||
version = "0.6.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit owner;
|
||||
repo = domain;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-xTnbA4GztHOE61QObEJbzUSdbuSrhbcJ280DUDdM+n4=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-BOKGALMrJg2zhcF6E874xaBpqNDivToCQhBP8kh4oJY=";
|
||||
};
|
||||
|
||||
dependencies = [ pycryptodome ];
|
||||
dependencies = [ midea-local ];
|
||||
|
||||
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}";
|
||||
homepage = "https://github.com/wuwentao/midea_ac_lan/";
|
||||
changelog = "https://github.com/wuwentao/midea_ac_lan/releases/tag/v${version}";
|
||||
maintainers = with maintainers; [ k900 ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
@@ -2568,6 +2568,8 @@ self: super: with self; {
|
||||
|
||||
commonmark = callPackage ../development/python-modules/commonmark { };
|
||||
|
||||
commonregex = callPackage ../development/python-modules/commonregex { };
|
||||
|
||||
complycube = callPackage ../development/python-modules/complycube { };
|
||||
|
||||
compreffor = callPackage ../development/python-modules/compreffor { };
|
||||
@@ -8161,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 { };
|
||||
|
||||
Reference in New Issue
Block a user