lol

python3Packages.llm-anthropic: 0.14.1 -> 0.15.1

Diff: https://github.com/simonw/llm-anthropic/compare/0.14.1...0.15.1
Changelog: https://github.com/simonw/llm-anthropic/releases/tag/0.15.1

Also remove the explicit updateScript and use the
writableTmpDirAsHomeHook hook for the tmp home directory.

+4 -11
+4 -11
pkgs/development/python-modules/llm-anthropic/default.nix
··· 9 9 pytestCheckHook, 10 10 pytest-asyncio, 11 11 pytest-recording, 12 - nix-update-script, 12 + writableTmpDirAsHomeHook, 13 13 }: 14 14 15 15 buildPythonPackage rec { 16 16 pname = "llm-anthropic"; 17 - version = "0.14.1"; 17 + version = "0.15.1"; 18 18 pyproject = true; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "simonw"; 22 22 repo = "llm-anthropic"; 23 23 tag = version; 24 - hash = "sha256-tKgcag8sBJA4QWunaFyZxkZH0mtc0SS17104YuX1Kac="; 24 + hash = "sha256-8bVs3MJteOTCiw7n/4pMf+oXMhsQbCSzUFVQqm2ezcE="; 25 25 }; 26 26 27 27 build-system = [ ··· 30 30 ]; 31 31 dependencies = [ anthropic ]; 32 32 33 - # Otherwise tests will fail to create directory 34 - # Permission denied: '/homeless-shelter' 35 - preCheck = '' 36 - export HOME=$(mktemp -d) 37 - ''; 38 - 39 33 nativeCheckInputs = [ 40 34 pytestCheckHook 41 35 pytest-asyncio 42 36 pytest-recording 37 + writableTmpDirAsHomeHook 43 38 ]; 44 39 45 40 pythonImportsCheck = [ "llm_anthropic" ]; 46 - 47 - passthru.updateScript = nix-update-script { }; 48 41 49 42 passthru.tests = { 50 43 llm-plugin = callPackage ./tests/llm-plugin.nix { };