2024-10-16 20:12:23 -04:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
2025-01-10 23:59:29 -05:00
|
|
|
self,
|
2024-10-16 20:12:23 -04:00
|
|
|
...
|
|
|
|
} @ inputs:
|
|
|
|
lib.makeScope pkgs.newScope (hass: let
|
2025-01-10 23:59:29 -05:00
|
|
|
inherit (self.lib) mergeAttrsList;
|
|
|
|
|
|
|
|
python3Packages = pkgs.python312Packages.override {
|
|
|
|
overrides = final: prev: (mergeAttrsList (map (x: x python3Packages final prev) [
|
|
|
|
(import ./spotifyplus/overrides.nix ({inherit pkgs;} // inputs))
|
|
|
|
(import ./tuya-local/overrides.nix {inherit pkgs;})
|
|
|
|
]));
|
|
|
|
};
|
|
|
|
|
2024-09-19 22:16:11 -04:00
|
|
|
buildHassComponent = file: extraArgs:
|
2025-01-10 23:59:29 -05:00
|
|
|
hass.callPackage file (inputs // extraArgs // {inherit python3Packages;});
|
2024-09-02 22:14:49 -04:00
|
|
|
in {
|
2024-09-22 20:22:37 -04:00
|
|
|
extended-ollama-conversation = buildHassComponent ./extended-ollama-conversation {};
|
2025-01-10 23:59:29 -05:00
|
|
|
|
2024-10-07 15:15:29 -04:00
|
|
|
ha-fallback-conversation = buildHassComponent ./ha-fallback-conversation {};
|
2025-01-10 23:59:29 -05:00
|
|
|
|
2024-10-22 20:28:11 -04:00
|
|
|
material-symbols = buildHassComponent ./material-symbols {};
|
2025-01-10 23:59:29 -05:00
|
|
|
|
2024-10-05 12:38:13 -04:00
|
|
|
netdaemon = buildHassComponent ./netdaemon {};
|
2025-01-10 23:59:29 -05:00
|
|
|
|
|
|
|
spotifyplus = buildHassComponent ./spotifyplus {};
|
|
|
|
|
|
|
|
tuya-local = buildHassComponent ./tuya-local {};
|
|
|
|
|
2024-10-23 00:30:24 -04:00
|
|
|
yamaha-soundbar = buildHassComponent ./yamaha-soundbar {};
|
2024-09-02 22:14:49 -04:00
|
|
|
})
|