From 332e4e07a332119c679647d1c14a17b728cb3768 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 3 Nov 2024 15:19:59 +0000 Subject: [PATCH 1/2] python312Packages.hap-python: 4.9.1 -> 4.9.2 --- pkgs/development/python-modules/hap-python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hap-python/default.nix b/pkgs/development/python-modules/hap-python/default.nix index 8c7ae2b3bc2c..4ac98921504e 100644 --- a/pkgs/development/python-modules/hap-python/default.nix +++ b/pkgs/development/python-modules/hap-python/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "hap-python"; - version = "4.9.1"; + version = "4.9.2"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "ikalchev"; repo = "HAP-python"; rev = "refs/tags/${version}"; - hash = "sha256-nnh8PSEcuPN1qGuInJ7uYe83zdne8axbTrHd4g1xoJs="; + hash = "sha256-mBjVUfNHuGSeLRisqu9ALpTDwpxHir+6X0scq+HrzxA="; }; propagatedBuildInputs = [ From affa833b2aebe455a637860da5b3f968c3fcea38 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 4 Nov 2024 09:08:31 +0100 Subject: [PATCH 2/2] 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