diff --git a/pkgs/development/python-modules/elastic-transport/default.nix b/pkgs/development/python-modules/elastic-transport/default.nix index 690e6c89b93a..394d3cd16331 100644 --- a/pkgs/development/python-modules/elastic-transport/default.nix +++ b/pkgs/development/python-modules/elastic-transport/default.nix @@ -9,6 +9,7 @@ opentelemetry-sdk, orjson, pytest-asyncio, + pytest-cov-stub, pytest-httpserver, pytestCheckHook, pythonOlder, @@ -33,14 +34,9 @@ buildPythonPackage rec { hash = "sha256-LWSvE88wEwMxRi6IZsMkIRP8UTRfImC9QZnuka1oiso="; }; - postPatch = '' - substituteInPlace setup.cfg \ - --replace " --cov-report=term-missing --cov=elastic_transport" "" - ''; - build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ urllib3 certifi ]; @@ -52,6 +48,7 @@ buildPythonPackage rec { opentelemetry-sdk orjson pytest-asyncio + pytest-cov-stub pytest-httpserver pytestCheckHook requests @@ -87,7 +84,7 @@ buildPythonPackage rec { meta = with lib; { description = "Transport classes and utilities shared among Python Elastic client libraries"; - homepage = "https://github.com/elasticsearch/elastic-transport-python"; + homepage = "https://github.com/elastic/elastic-transport-python"; changelog = "https://github.com/elastic/elastic-transport-python/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ];