home-assistant-custom-components.versatile_thermostat: init at 7.1.5, home-assistant-custom-lovelace-modules.versatile-thermostat-ui-card: init at 1.1.2 (#377092)
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{
|
||||
buildHomeAssistantComponent,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "jmcollin78";
|
||||
domain = "versatile_thermostat";
|
||||
version = "7.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit owner;
|
||||
repo = domain;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-XCDWByw/2xUjub/fNGvpIGzDyn3rq+JMI7syI1oPus0=";
|
||||
};
|
||||
|
||||
passthru.updateScript = gitUpdater { ignoredVersions = "(Alpha|Beta|alpha|beta).*"; };
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/jmcollin78/versatile_thermostat/releases/tag/${version}";
|
||||
description = "A full-featured thermostat";
|
||||
homepage = "https://github.com/jmcollin78/versatile_thermostat";
|
||||
maintainers = with lib.maintainers; [ pwoelfel ];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "versatile-thermostat-ui-card";
|
||||
version = "1.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jmcollin78";
|
||||
repo = "versatile-thermostat-ui-card";
|
||||
rev = "${version}";
|
||||
hash = "sha256-JOm0jQysBtKHjAXtWnjbEn7UPSNLHd95TGfP13WH0Ww=";
|
||||
};
|
||||
|
||||
npmFlags = [ "--legacy-peer-deps" ];
|
||||
npmDepsHash = "sha256-TlJGO0kw3+8ukT1DERp/xDwmeSu0ofP5mqrmXmGcF2M=";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir $out
|
||||
install -m0644 dist/versatile-thermostat-ui-card.js $out
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/jmcollin78/versatile-thermostat-ui-card/releases/tag/${version}";
|
||||
description = "Home Assistant card for the Versatile Thermostat integration.";
|
||||
homepage = "https://github.com/jmcollin78/versatile-thermostat-ui-card";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ pwoelfel ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user