home-assistant-custom-components: migrate to ignoreVersionRequirement

This commit is contained in:
Martin Weinelt
2024-12-12 03:52:42 +01:00
parent b2d6597ee4
commit bce4963de4
3 changed files with 11 additions and 11 deletions
@@ -18,14 +18,14 @@ buildHomeAssistantComponent rec {
hash = "sha256-6bYKqU9yucISjTrmCUx1bNn9kqvT9jW1OBrqAa4ayEQ=";
};
postPatch = ''
substituteInPlace custom_components/bodymiscale/manifest.json --replace-fail 'cachetools==5.3.0' 'cachetools>=5.3.0'
'';
dependencies = [
cachetools
];
ignoreVersionRequirement = [
"cachetools"
];
meta = {
description = "Home Assistant custom component providing body metrics for Xiaomi Mi Scale 1 and 2";
homepage = "https://github.com/dckiller51/bodymiscale";
@@ -21,9 +21,9 @@ buildHomeAssistantComponent rec {
pyemvue
];
postPatch = ''
substituteInPlace custom_components/emporia_vue/manifest.json --replace-fail 'pyemvue==0.17.1' 'pyemvue>=0.17.1'
'';
ignoreVersionRequirement = [
"pyemvue"
];
dontBuild = true;
@@ -19,15 +19,15 @@ buildHomeAssistantComponent rec {
hash = "sha256-yoaph/R3c4j+sXEC02Hv+ixtuif70/y6Gag5NBpKFLs=";
};
postPatch = ''
substituteInPlace custom_components/philips_airpurifier_coap/manifest.json --replace-fail 'getmac==0.9.4' 'getmac>=0.9.4'
'';
dependencies = [
aioairctrl
getmac
];
ignoreVersionRequirement = [
"getmac"
];
meta = {
description = "Philips AirPurifier custom component for Home Assistant";
homepage = "https://github.com/kongo09/philips-airpurifier-coap";