home-assistant-custom-components.powercalc: apply patch to fix home-assistant 2026.5.0 compatibility
This commit is contained in:
committed by
Martin Weinelt
parent
ecbf0fe777
commit
56a0625c0f
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildHomeAssistantComponent,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
|
||||
# dependencies
|
||||
numpy,
|
||||
@@ -26,6 +27,14 @@ buildHomeAssistantComponent rec {
|
||||
hash = "sha256-Tm9h6ZHByuiM9XZz3D1TZR3ISbb16l0K1Vy8sJxI4+s=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix compatibility with Home-Assistant 2026.5.0
|
||||
(fetchpatch {
|
||||
url = "https://github.com/bramstroker/homeassistant-powercalc/commit/3d5e162954c21adfd9251c4d8e21872e66680454.patch";
|
||||
hash = "sha256-7InjKxT8gPiR2IvLbA4oZpkgPRJbQY39SF4YNPilp4k=";
|
||||
})
|
||||
];
|
||||
|
||||
dependencies = [ numpy ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
||||
Reference in New Issue
Block a user