chore: get rid of home-llm
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
fcae0f3849
commit
4891913471
5 changed files with 0 additions and 34 deletions
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
|
@ -163,10 +163,6 @@ let
|
||||||
|
|
||||||
srcs = [
|
srcs = [
|
||||||
# Home-assistant
|
# Home-assistant
|
||||||
{
|
|
||||||
owner = "acon96";
|
|
||||||
repo = "home-llm";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
name = "extended-ollama-conversation-src";
|
name = "extended-ollama-conversation-src";
|
||||||
owner = "TheNimaj";
|
owner = "TheNimaj";
|
||||||
|
|
|
@ -3,6 +3,5 @@ pkgs.lib.makeScope pkgs.newScope (hass: let
|
||||||
buildHassComponent = file:
|
buildHassComponent = file:
|
||||||
hass.callPackage file (inputs // {});
|
hass.callPackage file (inputs // {});
|
||||||
in {
|
in {
|
||||||
home-llm = buildHassComponent ./home-llm.nix;
|
|
||||||
extended-ollama-conversation = buildHassComponent ./extended-ollama-conversation.nix;
|
extended-ollama-conversation = buildHassComponent ./extended-ollama-conversation.nix;
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
{
|
|
||||||
buildHomeAssistantComponent,
|
|
||||||
home-llm-src,
|
|
||||||
python3Packages,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
inherit (builtins) fromJSON readFile;
|
|
||||||
|
|
||||||
manifest = fromJSON (readFile "${home-llm-src}/custom_components/llama_conversation/manifest.json");
|
|
||||||
in
|
|
||||||
buildHomeAssistantComponent {
|
|
||||||
owner = "acon96";
|
|
||||||
|
|
||||||
inherit (manifest) domain version;
|
|
||||||
|
|
||||||
src = home-llm-src;
|
|
||||||
|
|
||||||
# FIXME: remove this on next release https://github.com/acon96/home-llm/issues/214
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace ./custom_components/llama_conversation/manifest.json \
|
|
||||||
--replace-warn "huggingface-hub==0.23.0" "huggingface-hub>=0.23.0"
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
|
||||||
huggingface-hub
|
|
||||||
requests
|
|
||||||
webcolors
|
|
||||||
];
|
|
||||||
}
|
|
Loading…
Reference in a new issue