nixos-configs/scopedPackages/hass-components/material-symbols/default.nix
matt1432 838df34dfb
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: rename legacyPackages to scopedPackages
2024-11-20 15:17:55 -05:00

15 lines
355 B
Nix

{
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;
}