home-assistant-custom-lovelace-modules.custom-brand-icons: init at 2026.06.2 (#533982)

This commit is contained in:
Martin Weinelt
2026-06-21 23:29:39 +00:00
committed by GitHub
@@ -0,0 +1,45 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
}:
buildNpmPackage (finalAttrs: {
pname = "custom-brand-icons";
version = "2026.06.2";
src = fetchFromGitHub {
owner = "elax46";
repo = "custom-brand-icons";
tag = finalAttrs.version;
hash = "sha256-tv8XrKiNEOQiaL+volIwdKiUSn/Y8L3Ot0z9A9HtH9w=";
};
npmDepsHash = "sha256-ZTl9+vXEBR3pvksaLWof8y1WnoL2tAL3KuPzZn7VjjE=";
buildPhase = ''
runHook preBuild
node custom-icons-builder.cjs
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir $out/
cp -v dist/custom-brand-icons.js -t $out/
runHook postInstall
'';
meta = {
description = "Custom brand icons for Home Assistant";
homepage = "https://github.com/elax46/custom-brand-icons";
changelog = "https://github.com/elax46/custom-brand-icons/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.cc-by-nc-sa-40;
maintainers = with lib.maintainers; [ SuperSandro2000 ];
platforms = lib.platforms.all;
};
})