diff --git a/pkgs/servers/home-assistant/custom-components/lovelace_gen/package.nix b/pkgs/servers/home-assistant/custom-components/lovelace_gen/package.nix new file mode 100644 index 000000000000..792f8d33f8a6 --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/lovelace_gen/package.nix @@ -0,0 +1,29 @@ +{ + lib, + buildHomeAssistantComponent, + fetchFromGitHub, + jinja2, +}: + +buildHomeAssistantComponent rec { + owner = "thomasloven"; + domain = "lovelace_gen"; + version = "0.1.3"; + + src = fetchFromGitHub { + owner = "thomasloven"; + repo = "hass-lovelace_gen"; + tag = version; + hash = "sha256-YGqvdoOs9/Etfldoee3mgDQjtveLa/LovwX/IduYyjg="; + }; + + dependencies = [ jinja2 ]; + + meta = with lib; { + changelog = "https://github.com/thomasloven/hass-lovelace_gen/releases/tag/${version}"; + description = "Improve the lovelace yaml parser for Home Assistant"; + homepage = "https://github.com/thomasloven/hass-lovelace_gen"; + license = licenses.mit; + maintainers = with maintainers; [ jpinz ]; + }; +}