2024-09-02 22:14:49 -04:00
|
|
|
{pkgs, ...} @ inputs:
|
|
|
|
pkgs.lib.makeScope pkgs.newScope (hass: let
|
2024-09-19 22:16:11 -04:00
|
|
|
spotPython3Packages = pkgs.python3Packages.override {
|
|
|
|
overrides = self: super: rec {
|
|
|
|
smartinspect = pkgs.callPackage ./spotifyplus/smartinspect.nix {
|
|
|
|
inherit (inputs) smartinspect-src;
|
|
|
|
python3Packages = spotPython3Packages;
|
|
|
|
};
|
|
|
|
|
|
|
|
spotifywebapi = pkgs.callPackage ./spotifyplus/spotifywebapi.nix {
|
|
|
|
inherit (inputs) spotifywebapi-src;
|
2024-09-22 20:22:37 -04:00
|
|
|
inherit smartinspect;
|
2024-09-19 22:16:11 -04:00
|
|
|
python3Packages = spotPython3Packages;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
buildHassComponent = file: extraArgs:
|
|
|
|
hass.callPackage file (inputs // extraArgs // {});
|
2024-09-02 22:14:49 -04:00
|
|
|
in {
|
2024-09-22 20:22:37 -04:00
|
|
|
extended-ollama-conversation = buildHassComponent ./extended-ollama-conversation {};
|
|
|
|
spotifyplus = buildHassComponent ./spotifyplus {python3Packages = spotPython3Packages;};
|
2024-09-02 22:14:49 -04:00
|
|
|
})
|