From a2729ed9ddd80bd85b412d3b53005ee2c6ba5f90 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 10 Mar 2024 11:28:39 +0100 Subject: [PATCH] python311Packages.elastic-apm: refactor --- pkgs/development/python-modules/elastic-apm/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/elastic-apm/default.nix b/pkgs/development/python-modules/elastic-apm/default.nix index 6e3245cfe2f3..61ad6705fe9b 100644 --- a/pkgs/development/python-modules/elastic-apm/default.nix +++ b/pkgs/development/python-modules/elastic-apm/default.nix @@ -20,6 +20,7 @@ , pythonOlder , sanic , sanic-testing +, setuptools , starlette , structlog , tornado @@ -31,7 +32,7 @@ buildPythonPackage rec { pname = "elastic-apm"; version = "6.21.3"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -42,6 +43,10 @@ buildPythonPackage rec { hash = "sha256-Ejix31cMyHOc/IGe4bRp/Nchm9Ps1cRYE8jIaIYlJjs="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ aiohttp blinker