Merge pull request #283942 from hughobrien/kasa

home-assistant: bind to earlier python-kasa version
This commit is contained in:
Martin Weinelt 2024-01-26 14:42:30 +01:00 committed by GitHub
commit 8d921bc483
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 2 deletions

View File

@ -52,7 +52,7 @@ buildPythonPackage rec {
];
passthru.optional-dependencies = {
speedup = [
speedups = [
kasa-crypt
orjson
];

View File

@ -5073,7 +5073,8 @@
psutil-home-assistant
python-kasa
sqlalchemy
]; # missing inputs: python-kasa.optional-dependencies.speedups
]
++ python-kasa.optional-dependencies.speedups;
"tplink_lte" = ps: with ps; [
]; # missing inputs: tp-connected
"tplink_omada" = ps: with ps; [
@ -6400,6 +6401,7 @@
"tomorrowio"
"toon"
"totalconnect"
"tplink"
"tplink_omada"
"traccar"
"trace"

View File

@ -322,6 +322,16 @@ let
};
});
python-kasa = super.python-kasa.overridePythonAttrs (oldAttrs: rec {
version = "0.5.4";
src = fetchFromGitHub {
owner = "python-kasa";
repo = "python-kasa";
rev = "refs/tags/${version}";
hash = "sha256-wGPMrYaTtKkkNW88eyiiciFcBSTRqqChYi6e15WUCHo=";
};
});
python-roborock = super.python-roborock.overridePythonAttrs (oldAttrs: rec {
version = "0.38.0";
src = fetchFromGitHub {