diff --git a/pkgs/development/python-modules/hap-python/default.nix b/pkgs/development/python-modules/hap-python/default.nix index 4ac98921504e..533a6d040a8b 100644 --- a/pkgs/development/python-modules/hap-python/default.nix +++ b/pkgs/development/python-modules/hap-python/default.nix @@ -13,15 +13,16 @@ pytest-timeout, pytestCheckHook, pythonOlder, + setuptools, zeroconf, }: buildPythonPackage rec { pname = "hap-python"; version = "4.9.2"; - format = "setuptools"; + pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "ikalchev"; @@ -30,7 +31,9 @@ buildPythonPackage rec { hash = "sha256-mBjVUfNHuGSeLRisqu9ALpTDwpxHir+6X0scq+HrzxA="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ async-timeout chacha20poly1305-reuseable cryptography