30 lines
765 B
Nix
30 lines
765 B
Nix
|
|
{
|
||
|
|
buildHomeAssistantComponent,
|
||
|
|
fetchFromGitHub,
|
||
|
|
lib,
|
||
|
|
gitUpdater,
|
||
|
|
}:
|
||
|
|
|
||
|
|
buildHomeAssistantComponent rec {
|
||
|
|
owner = "jmcollin78";
|
||
|
|
domain = "versatile_thermostat";
|
||
|
|
version = "7.3.5";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
inherit owner;
|
||
|
|
repo = domain;
|
||
|
|
rev = "refs/tags/${version}";
|
||
|
|
hash = "sha256-oX1C7N1i1ssmLgYv0uL2MQm3SCNMNKvBm6xLhfN3qKk=";
|
||
|
|
};
|
||
|
|
|
||
|
|
passthru.updateScript = gitUpdater { ignoredVersions = "(Alpha|Beta|alpha|beta).*"; };
|
||
|
|
|
||
|
|
meta = {
|
||
|
|
changelog = "https://github.com/jmcollin78/versatile_thermostat/releases/tag/${version}";
|
||
|
|
description = "Full-featured thermostat";
|
||
|
|
homepage = "https://github.com/jmcollin78/versatile_thermostat";
|
||
|
|
maintainers = with lib.maintainers; [ pwoelfel ];
|
||
|
|
license = lib.licenses.mit;
|
||
|
|
};
|
||
|
|
}
|