diff --git a/pkgs/development/python-modules/blebox-uniapi/default.nix b/pkgs/development/python-modules/blebox-uniapi/default.nix index 0c582d11ad4a..e91abe0b8f06 100644 --- a/pkgs/development/python-modules/blebox-uniapi/default.nix +++ b/pkgs/development/python-modules/blebox-uniapi/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, setuptools , aiohttp , semver , deepmerge @@ -12,7 +13,7 @@ buildPythonPackage rec { pname = "blebox-uniapi"; version = "2.2.2"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.9"; @@ -25,9 +26,13 @@ buildPythonPackage rec { postPatch = '' substituteInPlace setup.py \ - --replace "pytest-runner" "" + --replace-fail "pytest-runner" "" ''; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ aiohttp semver