31 lines
882 B
Nix
31 lines
882 B
Nix
{
|
|
buildHomeAssistantComponent,
|
|
fetchFromGitHub,
|
|
lib,
|
|
gitUpdater,
|
|
}:
|
|
|
|
buildHomeAssistantComponent rec {
|
|
owner = "KartoffelToby";
|
|
domain = "scheduler";
|
|
version = "3.3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nielsfaber";
|
|
repo = "scheduler-component";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-zXO2UDLhSTOemzsO9G5ZUzr50Zg8kDW/aObn6Y3j70k=";
|
|
};
|
|
|
|
passthru.updateScript = gitUpdater {
|
|
ignoredVersions = "(Alpha|Beta|alpha|beta).*";
|
|
};
|
|
|
|
meta = {
|
|
changelog = "https://github.com/nielsfaber/scheduler-component/releases/tag/${version}";
|
|
description = "This is a custom component for Home Assistant, that is used for controlling your existing devices based on time. It works nicely together with the Lovelace scheduler card.";
|
|
homepage = "https://github.com/nielsfaber/scheduler-component";
|
|
license = lib.licenses.agpl3Only;
|
|
};
|
|
}
|