lol

Merge pull request #307258 from fabaff/ollama-bump

python312Packages.ollama: 0.1.8 -> 0.1.9

authored by

Fabian Affolter and committed by
GitHub
18ab20f8 af1efe61

+20 -26
+20 -26
pkgs/development/python-modules/ollama/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchFromGitHub 4 - , httpx 5 - , pillow 6 - , poetry-core 7 - , pytest-asyncio 8 - , pytest-httpserver 9 - , pytestCheckHook 10 - , pythonOlder 11 - , pythonRelaxDepsHook 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + httpx, 6 + pillow, 7 + poetry-core, 8 + pytest-asyncio, 9 + pytest-httpserver, 10 + pytestCheckHook, 11 + pythonOlder, 12 + pythonRelaxDepsHook, 12 13 }: 13 14 14 15 buildPythonPackage rec { 15 16 pname = "ollama"; 16 - version = "0.1.8"; 17 + version = "0.1.9"; 17 18 pyproject = true; 18 19 19 20 disabled = pythonOlder "3.8"; ··· 22 23 owner = "ollama"; 23 24 repo = "ollama-python"; 24 25 rev = "refs/tags/v${version}"; 25 - hash = "sha256-hMNoWalUL+5FzmV5ICj7Zl6cTWzE6xGWfTf5++c36+E="; 26 + hash = "sha256-ilJgRMzCn/T+6Lr7IuvaCnKhN5cyyEOWuV0N1FtR+Yg="; 26 27 }; 27 28 28 29 postPatch = '' ··· 30 31 --replace-fail "0.0.0" "${version}" 31 32 ''; 32 33 33 - pythonRelaxDeps = [ 34 - "httpx" 35 - ]; 34 + pythonRelaxDeps = [ "httpx" ]; 36 35 37 - build-system = [ 38 - poetry-core 39 - pythonRelaxDepsHook 40 - ]; 36 + build-system = [ poetry-core ]; 37 + 38 + nativeBuildInputs = [ pythonRelaxDepsHook ]; 41 39 42 - dependencies = [ 43 - httpx 44 - ]; 40 + dependencies = [ httpx ]; 45 41 46 42 nativeCheckInputs = [ 47 43 pillow ··· 50 46 pytestCheckHook 51 47 ]; 52 48 53 - pythonImportsCheck = [ 54 - "ollama" 55 - ]; 49 + pythonImportsCheck = [ "ollama" ]; 56 50 57 51 meta = with lib; { 58 52 description = "Ollama Python library";