home-assistant-custom-components.openplantbook: ini at 1.3.3
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
buildHomeAssistantComponent,
|
||||
fetchFromGitHub,
|
||||
json-timeseries,
|
||||
openplantbook-sdk,
|
||||
pytest-homeassistant-custom-component,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "olen";
|
||||
domain = "openplantbook";
|
||||
version = "1.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit owner;
|
||||
repo = "home-assistant-openplantbook";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-t4ZyY6zodCRJZTIqu7Rcfr7sRUmo5QarZU8y0lCKmWE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace custom_components/openplantbook/manifest.json \
|
||||
--replace-fail "==" ">="
|
||||
'';
|
||||
|
||||
dependencies = [
|
||||
json-timeseries
|
||||
openplantbook-sdk
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-homeassistant-custom-component
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Integration to search and fetch data from Openplantbook.io";
|
||||
homepage = "https://github.com/Olen/home-assistant-openplantbook";
|
||||
changelog = "https://github.com/Olen/home-assistant-openplantbook/releases/tag/${src.tag}";
|
||||
maintainers = with lib.maintainers; [ SuperSandro2000 ];
|
||||
license = lib.licenses.gpl3Only;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user