Loading pkgs/development/python-modules/llm-anthropic/default.nix +4 −11 Original line number Diff line number Diff line Loading @@ -9,19 +9,19 @@ pytestCheckHook, pytest-asyncio, pytest-recording, nix-update-script, writableTmpDirAsHomeHook, }: buildPythonPackage rec { pname = "llm-anthropic"; version = "0.14.1"; version = "0.15.1"; pyproject = true; src = fetchFromGitHub { owner = "simonw"; repo = "llm-anthropic"; tag = version; hash = "sha256-tKgcag8sBJA4QWunaFyZxkZH0mtc0SS17104YuX1Kac="; hash = "sha256-8bVs3MJteOTCiw7n/4pMf+oXMhsQbCSzUFVQqm2ezcE="; }; build-system = [ Loading @@ -30,22 +30,15 @@ buildPythonPackage rec { ]; dependencies = [ anthropic ]; # Otherwise tests will fail to create directory # Permission denied: '/homeless-shelter' preCheck = '' export HOME=$(mktemp -d) ''; nativeCheckInputs = [ pytestCheckHook pytest-asyncio pytest-recording writableTmpDirAsHomeHook ]; pythonImportsCheck = [ "llm_anthropic" ]; passthru.updateScript = nix-update-script { }; passthru.tests = { llm-plugin = callPackage ./tests/llm-plugin.nix { }; }; Loading Loading
pkgs/development/python-modules/llm-anthropic/default.nix +4 −11 Original line number Diff line number Diff line Loading @@ -9,19 +9,19 @@ pytestCheckHook, pytest-asyncio, pytest-recording, nix-update-script, writableTmpDirAsHomeHook, }: buildPythonPackage rec { pname = "llm-anthropic"; version = "0.14.1"; version = "0.15.1"; pyproject = true; src = fetchFromGitHub { owner = "simonw"; repo = "llm-anthropic"; tag = version; hash = "sha256-tKgcag8sBJA4QWunaFyZxkZH0mtc0SS17104YuX1Kac="; hash = "sha256-8bVs3MJteOTCiw7n/4pMf+oXMhsQbCSzUFVQqm2ezcE="; }; build-system = [ Loading @@ -30,22 +30,15 @@ buildPythonPackage rec { ]; dependencies = [ anthropic ]; # Otherwise tests will fail to create directory # Permission denied: '/homeless-shelter' preCheck = '' export HOME=$(mktemp -d) ''; nativeCheckInputs = [ pytestCheckHook pytest-asyncio pytest-recording writableTmpDirAsHomeHook ]; pythonImportsCheck = [ "llm_anthropic" ]; passthru.updateScript = nix-update-script { }; passthru.tests = { llm-plugin = callPackage ./tests/llm-plugin.nix { }; }; Loading