Loading pkgs/development/python-modules/anthropic/default.nix +4 −4 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ jiter, pydantic, sniffio, tokenizers, typing-extensions, # optional dependencies Loading @@ -28,6 +27,7 @@ # test dirty-equals, http-snapshot, inline-snapshot, nest-asyncio, pytest-asyncio, Loading @@ -38,14 +38,14 @@ buildPythonPackage (finalAttrs: { pname = "anthropic"; version = "0.79.0"; version = "0.84.0"; pyproject = true; src = fetchFromGitHub { owner = "anthropics"; repo = "anthropic-sdk-python"; tag = "v${finalAttrs.version}"; hash = "sha256-//VKkn9M2uOj8PBoWTY872ZOyTc+OjBgEUGtKsYDWpk="; hash = "sha256-03nvs97JNQrOu2rxOXWpJiUj+DCI5I/PTcKLuZUZ3t0="; }; postPatch = '' Loading @@ -66,7 +66,6 @@ buildPythonPackage (finalAttrs: { jiter pydantic sniffio tokenizers typing-extensions ]; Loading @@ -84,6 +83,7 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ dirty-equals http-snapshot inline-snapshot nest-asyncio pytest-asyncio Loading pkgs/development/python-modules/http-snapshot/default.nix 0 → 100644 +58 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, httpx, inline-snapshot, lib, pytest, pytestCheckHook, requests, setuptools, }: buildPythonPackage (finalAttrs: { pname = "http-snapshot"; version = "0.1.9"; pyproject = true; src = fetchFromGitHub { owner = "karpetrosyan"; repo = "http-snapshot"; tag = finalAttrs.version; hash = "sha256-4roxtwzB3HXwvlBqjdHEit4flXlogVwzlYNgQE8vFwE="; }; build-system = [ setuptools ]; buildInputs = [ pytest ]; dependencies = [ inline-snapshot ]; optional-dependencies = { httpx = [ httpx ]; requests = [ requests ]; }; pythonImportsCheck = [ "http_snapshot" ]; nativeCheckInputs = [ pytestCheckHook ] ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; pytestFlags = [ "--inline-snapshot=disable" ]; meta = { changelog = "https://github.com/karpetrosyan/http-snapshot/blob/${finalAttrs.src.tag}/CHANGELOG.md"; description = "Pytest plugin that snapshots requests made with popular Python HTTP clients"; homepage = "https://github.com/karpetrosyan/http-snapshot"; license = lib.licenses.mit; maintainers = [ lib.maintainers.dotlambda ]; }; }) pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7156,6 +7156,8 @@ self: super: with self; { http-sfv = callPackage ../development/python-modules/http-sfv { }; http-snapshot = callPackage ../development/python-modules/http-snapshot { }; httpagentparser = callPackage ../development/python-modules/httpagentparser { }; httpauth = callPackage ../development/python-modules/httpauth { }; Loading Loading
pkgs/development/python-modules/anthropic/default.nix +4 −4 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ jiter, pydantic, sniffio, tokenizers, typing-extensions, # optional dependencies Loading @@ -28,6 +27,7 @@ # test dirty-equals, http-snapshot, inline-snapshot, nest-asyncio, pytest-asyncio, Loading @@ -38,14 +38,14 @@ buildPythonPackage (finalAttrs: { pname = "anthropic"; version = "0.79.0"; version = "0.84.0"; pyproject = true; src = fetchFromGitHub { owner = "anthropics"; repo = "anthropic-sdk-python"; tag = "v${finalAttrs.version}"; hash = "sha256-//VKkn9M2uOj8PBoWTY872ZOyTc+OjBgEUGtKsYDWpk="; hash = "sha256-03nvs97JNQrOu2rxOXWpJiUj+DCI5I/PTcKLuZUZ3t0="; }; postPatch = '' Loading @@ -66,7 +66,6 @@ buildPythonPackage (finalAttrs: { jiter pydantic sniffio tokenizers typing-extensions ]; Loading @@ -84,6 +83,7 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ dirty-equals http-snapshot inline-snapshot nest-asyncio pytest-asyncio Loading
pkgs/development/python-modules/http-snapshot/default.nix 0 → 100644 +58 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, httpx, inline-snapshot, lib, pytest, pytestCheckHook, requests, setuptools, }: buildPythonPackage (finalAttrs: { pname = "http-snapshot"; version = "0.1.9"; pyproject = true; src = fetchFromGitHub { owner = "karpetrosyan"; repo = "http-snapshot"; tag = finalAttrs.version; hash = "sha256-4roxtwzB3HXwvlBqjdHEit4flXlogVwzlYNgQE8vFwE="; }; build-system = [ setuptools ]; buildInputs = [ pytest ]; dependencies = [ inline-snapshot ]; optional-dependencies = { httpx = [ httpx ]; requests = [ requests ]; }; pythonImportsCheck = [ "http_snapshot" ]; nativeCheckInputs = [ pytestCheckHook ] ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; pytestFlags = [ "--inline-snapshot=disable" ]; meta = { changelog = "https://github.com/karpetrosyan/http-snapshot/blob/${finalAttrs.src.tag}/CHANGELOG.md"; description = "Pytest plugin that snapshots requests made with popular Python HTTP clients"; homepage = "https://github.com/karpetrosyan/http-snapshot"; license = lib.licenses.mit; maintainers = [ lib.maintainers.dotlambda ]; }; })
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7156,6 +7156,8 @@ self: super: with self; { http-sfv = callPackage ../development/python-modules/http-sfv { }; http-snapshot = callPackage ../development/python-modules/http-snapshot { }; httpagentparser = callPackage ../development/python-modules/httpagentparser { }; httpauth = callPackage ../development/python-modules/httpauth { }; Loading