chore: get rid of home-llm
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-09-17 22:30:10 -04:00
parent fcae0f3849
commit 4891913471
5 changed files with 0 additions and 34 deletions

Binary file not shown.

BIN
flake.nix

Binary file not shown.

View file

@ -163,10 +163,6 @@ let
srcs = [
# Home-assistant
{
owner = "acon96";
repo = "home-llm";
}
{
name = "extended-ollama-conversation-src";
owner = "TheNimaj";

View file

@ -3,6 +3,5 @@ pkgs.lib.makeScope pkgs.newScope (hass: let
buildHassComponent = file:
hass.callPackage file (inputs // {});
in {
home-llm = buildHassComponent ./home-llm.nix;
extended-ollama-conversation = buildHassComponent ./extended-ollama-conversation.nix;
})

View file

@ -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
];
}