Skip to content

Commit

Permalink
home-assistant: pin ollama at 0.3.3
Browse files Browse the repository at this point in the history
Last version before pydantic 2.0 dependency was added.
  • Loading branch information
mweinelt committed Jan 1, 2025
1 parent 4e4d34a commit 38d4d5e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkgs/servers/home-assistant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,17 @@ let
];
});

ollama = super.ollama.overridePythonAttrs (oldAttrs: rec {
version = "0.3.3";
src = fetchFromGitHub {
owner = "ollama";
repo = "ollama-python";
tag = "v${version}";
hash = "sha256-27OJwPvHBxCdaiHk8EQ2s1OeBzgsrzp1MjgKHNgvz+A=";
};
dependencies = with self ;[ httpx ];
});

openhomedevice = super.openhomedevice.overridePythonAttrs (oldAttrs: rec {
version = "2.2";
src = fetchFromGitHub {
Expand Down

0 comments on commit 38d4d5e

Please sign in to comment.