nixos-configs/scopedPackages/hass-components/spotifyplus/default.nix
matt1432 35f1041105
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(hass-components): use same python3Packages
2025-01-10 23:59:29 -05:00

29 lines
631 B
Nix

{
spotifyplus-src,
buildHomeAssistantComponent,
python3Packages,
...
}: let
inherit (builtins) fromJSON readFile;
manifest = fromJSON (readFile "${spotifyplus-src}/custom_components/spotifyplus/manifest.json");
in
buildHomeAssistantComponent {
owner = "thlucas1";
inherit (manifest) domain version;
src = spotifyplus-src;
propagatedBuildInputs = with python3Packages; [
oauthlib
platformdirs
requests
requests_oauthlib
soco
urllib3
zeroconf
smartinspect # overridden in python3Packages
spotifywebapi # overridden in python3Packages
];
}