diff --git a/pkgs/development/python-modules/aqipy-atmotech/default.nix b/pkgs/development/python-modules/aqipy-atmotech/default.nix index 29e903db42e5..01e2d633ee56 100644 --- a/pkgs/development/python-modules/aqipy-atmotech/default.nix +++ b/pkgs/development/python-modules/aqipy-atmotech/default.nix @@ -3,12 +3,13 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, + setuptools, }: buildPythonPackage rec { pname = "aqipy-atmotech"; version = "0.1.5"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "atmotube"; @@ -17,6 +18,8 @@ buildPythonPackage rec { hash = "sha256-tqHhfJmtVFUSO57Cid9y3LK4pOoG7ROtwDT2hY5IE1Y="; }; + build-system = [ setuptools ]; + nativeCheckInputs = [ pytestCheckHook ]; postPatch = ''