Merge pull request #319531 from abysssol/ollama-update-0.1.43

ollama: 0.1.42 -> 0.1.43
This commit is contained in:
abysssol 2024-06-13 17:32:23 +00:00 committed by GitHub
commit 58ee42784a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,13 +31,13 @@
let
pname = "ollama";
# don't forget to invalidate all hashes each update
version = "0.1.42";
version = "0.1.43";
src = fetchFromGitHub {
owner = "ollama";
repo = "ollama";
rev = "v${version}";
hash = "sha256-lmnfFJBPgjaCdxkMALNQigrtD/V2T3Vs1GEKvRCgWaM=";
hash = "sha256-+WCyRZPm4EyLH68uXDUJEW76v6FXq2WS5fqt4momKDA=";
fetchSubmodules = true;
};
@ -197,12 +197,13 @@ goBuild ((lib.optionalAttrs enableRocm {
];
passthru.tests = {
inherit ollama;
service = nixosTests.ollama;
version = testers.testVersion {
inherit version;
package = ollama;
};
} // stdenv.isLinux {
} // lib.optionalAttrs stdenv.isLinux {
inherit ollama-rocm ollama-cuda;
};