home-assistant-custom-components.oref_alert: 4.1.1 -> 6.14.0 (#501935)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user