nixos-configs/scopedPackages/hass-components/material-symbols/default.nix

16 lines
355 B
Nix
Raw Permalink Normal View History

2024-10-22 20:28:11 -04:00
{
material-symbols-src,
buildHomeAssistantComponent,
...
}: let
inherit (builtins) fromJSON readFile;
manifest = fromJSON (readFile "${material-symbols-src}/custom_components/material_symbols/manifest.json");
in
buildHomeAssistantComponent {
owner = "beecho01";
inherit (manifest) domain version;
src = material-symbols-src;
}