Skip to content

Commit 8dc0075

Browse files
authored
home-assistant: pin ollama at 0.3.3 (#370002)
2 parents 76d002f + 08ee1fe commit 8dc0075

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pkgs/servers/home-assistant/default.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,17 @@ let
122122
];
123123
});
124124

125+
ollama = super.ollama.overridePythonAttrs (oldAttrs: rec {
126+
version = "0.3.3";
127+
src = fetchFromGitHub {
128+
owner = "ollama";
129+
repo = "ollama-python";
130+
tag = "v${version}";
131+
hash = "sha256-27OJwPvHBxCdaiHk8EQ2s1OeBzgsrzp1MjgKHNgvz+A=";
132+
};
133+
dependencies = with self; [ httpx ];
134+
});
135+
125136
openhomedevice = super.openhomedevice.overridePythonAttrs (oldAttrs: rec {
126137
version = "2.2";
127138
src = fetchFromGitHub {

0 commit comments

Comments
 (0)