nixos-configs/legacyPackages/hass-components/yamaha-soundbar/default.nix
matt1432 d481c4be32
All checks were successful
Discord / discord commits (push) Has been skipped
feat(hass): add android tv remote card
2024-10-23 00:30:24 -04:00

22 lines
481 B
Nix

{
yamaha-soundbar-src,
buildHomeAssistantComponent,
python3Packages,
...
}: let
inherit (builtins) fromJSON readFile;
manifest = fromJSON (readFile "${yamaha-soundbar-src}/custom_components/yamaha_soundbar/manifest.json");
in
buildHomeAssistantComponent {
owner = "osk2";
inherit (manifest) domain version;
src = yamaha-soundbar-src;
propagatedBuildInputs = with python3Packages; [
async-upnp-client
chardet
validators
];
}