home-assistant-custom-components.oref_alert: 4.1.1 -> 6.14.0

Diff: https://github.com/amitfin/oref_alert/compare/v4.1.1...v6.14.0

Changelog: https://github.com/amitfin/oref_alert/releases/tag/v
This commit is contained in:
Ilan Joselevich
2026-03-26 22:44:59 +02:00
parent 23f1097054
commit ff1ed73e0b
@@ -8,20 +8,28 @@
pytestCheckHook,
pytest-homeassistant-custom-component,
pytest-freezer,
pytest-cov-stub,
home-assistant-frontend,
}:
buildHomeAssistantComponent rec {
owner = "amitfin";
domain = "oref_alert";
version = "4.1.1";
version = "6.14.0";
src = fetchFromGitHub {
owner = "amitfin";
repo = "oref_alert";
tag = "v${version}";
hash = "sha256-nWp8cG0lFYUEO11lcZGkqx5QvOSfSVnqIqpHA8YAN30=";
hash = "sha256-g3Ae2AwdhcBv9v3aFjFAqxCPYVBFtQxsbtVAEOL2A60=";
};
# Do not publish cards, currently broken, attempting to write to nix store.
postPatch = ''
substituteInPlace custom_components/oref_alert/__init__.py \
--replace-fail 'version = await publish_cards(hass)' 'version = "1.0.0"'
'';
dependencies = [
aiofiles
shapely
@@ -30,10 +38,18 @@ buildHomeAssistantComponent rec {
ignoreVersionRequirement = [ "shapely" ];
# These tests are broken with cards removed.
disabledTestPaths = [
"tests/test_custom_cards.py"
"tests/test_init.py"
];
nativeCheckInputs = [
pytestCheckHook
pytest-homeassistant-custom-component
pytest-freezer
pytest-cov-stub
home-assistant-frontend
];
meta = {