nixos-configs/scopedPackages/hass-components/ha-fallback-conversation/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

16 lines
380 B
Nix

{
ha-fallback-conversation-src,
buildHomeAssistantComponent,
...
}: let
inherit (builtins) fromJSON readFile;
manifest = fromJSON (readFile "${ha-fallback-conversation-src}/custom_components/fallback_conversation/manifest.json");
in
buildHomeAssistantComponent {
owner = "m50";
inherit (manifest) domain version;
src = ha-fallback-conversation-src;
}