diff --git a/flake.lock b/flake.lock index 8bdcccb8..b74e5deb 100644 Binary files a/flake.lock and b/flake.lock differ diff --git a/flake.nix b/flake.nix index 1d510cf0..cb36159b 100644 Binary files a/flake.nix and b/flake.nix differ diff --git a/inputs.nix b/inputs.nix index 8b438fe3..64f24aa8 100644 --- a/inputs.nix +++ b/inputs.nix @@ -163,10 +163,6 @@ let srcs = [ # Home-assistant - { - owner = "acon96"; - repo = "home-llm"; - } { name = "extended-ollama-conversation-src"; owner = "TheNimaj"; diff --git a/legacyPackages/hass-components/default.nix b/legacyPackages/hass-components/default.nix index 9097f730..bbbd9141 100644 --- a/legacyPackages/hass-components/default.nix +++ b/legacyPackages/hass-components/default.nix @@ -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; }) diff --git a/legacyPackages/hass-components/home-llm.nix b/legacyPackages/hass-components/home-llm.nix deleted file mode 100644 index 8f11db27..00000000 --- a/legacyPackages/hass-components/home-llm.nix +++ /dev/null @@ -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 - ]; - }