From affa833b2aebe455a637860da5b3f968c3fcea38 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 4 Nov 2024 09:08:31 +0100 Subject: [PATCH] python312Packages.hap-python: refactor --- pkgs/development/python-modules/hap-python/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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