diff --git a/pkgs/development/python-modules/atomicwrites/default.nix b/pkgs/development/python-modules/atomicwrites/default.nix index e916a433d26d..be650f0e0375 100644 --- a/pkgs/development/python-modules/atomicwrites/default.nix +++ b/pkgs/development/python-modules/atomicwrites/default.nix @@ -3,18 +3,21 @@ buildPythonPackage, fetchPypi, pytest, + setuptools, }: buildPythonPackage rec { pname = "atomicwrites"; version = "1.4.1"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-gbLJBxpJNnp/dwFw5e7Iy2ZWfPu8jHPSDOXKSo1xzxE="; }; + build-system = [ setuptools ]; + # Tests depend on pytest but atomicwrites is a dependency of pytest doCheck = false; nativeCheckInputs = [ pytest ];