diff --git a/pkgs/development/python-modules/testing-common-database/default.nix b/pkgs/development/python-modules/testing-common-database/default.nix index 021b3e7ef7e2..0555bd8ee025 100644 --- a/pkgs/development/python-modules/testing-common-database/default.nix +++ b/pkgs/development/python-modules/testing-common-database/default.nix @@ -2,11 +2,13 @@ lib, buildPythonPackage, fetchPypi, + setuptools, }: buildPythonPackage rec { pname = "testing.common.database"; version = "2.0.3"; + pyproject = true; src = fetchPypi { inherit pname version; @@ -15,9 +17,11 @@ buildPythonPackage rec { postPatch = '' substituteInPlace src/testing/common/database.py \ - --replace "collections.Callable" "collections.abc.Callable" + --replace-fail "collections.Callable" "collections.abc.Callable" ''; + build-system = [ setuptools ]; + # There are no unit tests doCheck = false;