Loading pkgs/development/python-modules/anthropic/default.nix +25 −17 Original line number Diff line number Diff line { lib, anyio, buildPythonPackage, dirty-equals, distro, fetchFromGitHub, google-auth, # build-system hatch-fancy-pypi-readme, hatchling, pythonAtLeast, # dependencies anyio, distro, httpx, jiter, nest-asyncio, pydantic, pytest-asyncio, pytestCheckHook, pythonAtLeast, pythonOlder, respx, sniffio, tokenizers, typing-extensions, # optional dependencies google-auth, # test dirty-equals, nest-asyncio, pytest-asyncio, pytestCheckHook, respx, }: buildPythonPackage rec { Loading @@ -27,8 +34,6 @@ buildPythonPackage rec { version = "0.49.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "anthropics"; repo = "anthropic-sdk-python"; Loading @@ -46,8 +51,8 @@ buildPythonPackage rec { distro httpx jiter sniffio pydantic sniffio tokenizers typing-extensions ]; Loading @@ -58,8 +63,8 @@ buildPythonPackage rec { nativeCheckInputs = [ dirty-equals pytest-asyncio nest-asyncio pytest-asyncio pytestCheckHook respx ]; Loading Loading @@ -87,11 +92,14 @@ buildPythonPackage rec { "ignore::DeprecationWarning" ]; meta = with lib; { meta = { description = "Anthropic's safety-first language model APIs"; homepage = "https://github.com/anthropics/anthropic-sdk-python"; changelog = "https://github.com/anthropics/anthropic-sdk-python/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ natsukium ]; license = lib.licenses.mit; maintainers = [ lib.maintainers.natsukium lib.maintainers.sarahec ]; }; } Loading
pkgs/development/python-modules/anthropic/default.nix +25 −17 Original line number Diff line number Diff line { lib, anyio, buildPythonPackage, dirty-equals, distro, fetchFromGitHub, google-auth, # build-system hatch-fancy-pypi-readme, hatchling, pythonAtLeast, # dependencies anyio, distro, httpx, jiter, nest-asyncio, pydantic, pytest-asyncio, pytestCheckHook, pythonAtLeast, pythonOlder, respx, sniffio, tokenizers, typing-extensions, # optional dependencies google-auth, # test dirty-equals, nest-asyncio, pytest-asyncio, pytestCheckHook, respx, }: buildPythonPackage rec { Loading @@ -27,8 +34,6 @@ buildPythonPackage rec { version = "0.49.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "anthropics"; repo = "anthropic-sdk-python"; Loading @@ -46,8 +51,8 @@ buildPythonPackage rec { distro httpx jiter sniffio pydantic sniffio tokenizers typing-extensions ]; Loading @@ -58,8 +63,8 @@ buildPythonPackage rec { nativeCheckInputs = [ dirty-equals pytest-asyncio nest-asyncio pytest-asyncio pytestCheckHook respx ]; Loading Loading @@ -87,11 +92,14 @@ buildPythonPackage rec { "ignore::DeprecationWarning" ]; meta = with lib; { meta = { description = "Anthropic's safety-first language model APIs"; homepage = "https://github.com/anthropics/anthropic-sdk-python"; changelog = "https://github.com/anthropics/anthropic-sdk-python/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ natsukium ]; license = lib.licenses.mit; maintainers = [ lib.maintainers.natsukium lib.maintainers.sarahec ]; }; }