nixos-configs/scopedPackages/hass-components/material-symbols/default.nix
matt1432 13453f6839
All checks were successful
Discord / discord commits (push) Has been skipped
docs: add meta to all scoped packages
2025-02-18 15:19:08 -05:00

26 lines
737 B
Nix

{
# nix build inputs
lib,
buildHomeAssistantComponent,
material-symbols-src,
...
}: 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;
meta = {
license = lib.licenses.cc-by-nc-sa-40;
homepage = "https://github.com/beecho01/material-symbols";
description = ''
Material Symbols for Home Assistant is a collection of 13,803 Google Material Symbols
for use within Home Assistant. It uses the icon-set produced and maintained by iconify.
'';
};
}