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

27 lines
737 B
Nix
Raw Normal View History

2024-10-22 20:28:11 -04:00
{
2025-02-18 15:19:08 -05:00
# nix build inputs
lib,
2024-10-22 20:28:11 -04:00
buildHomeAssistantComponent,
2025-02-18 15:19:08 -05:00
material-symbols-src,
2024-10-22 20:28:11 -04:00
...
}: 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;
2025-02-18 15:19:08 -05:00
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.
'';
};
2024-10-22 20:28:11 -04:00
}