python312Packages.hap-python: refactor

This commit is contained in:
Fabian Affolter 2024-11-04 09:08:31 +01:00 committed by GitHub
parent 332e4e07a3
commit affa833b2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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