python312Packages.zigpy: refactor

This commit is contained in:
Fabian Affolter 2024-04-02 20:15:19 +02:00 committed by Martin Weinelt
parent 87c0e628e1
commit 63ce6d15a9
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
1 changed files with 12 additions and 2 deletions

View File

@ -1,12 +1,15 @@
{ lib
, aiohttp
, aiosqlite
, aioresponses
, aiosqlite
, async-timeout
, attrs
, buildPythonPackage
, crccheck
, cryptography
, freezegun
, fetchFromGitHub
, freezegun
, importlib-resources
, jsonschema
, pycryptodome
, pyserial-asyncio
@ -15,6 +18,7 @@
, pytestCheckHook
, pythonOlder
, setuptools
, typing-extensions
, voluptuous
}:
@ -43,14 +47,20 @@ buildPythonPackage rec {
];
dependencies = [
attrs
aiohttp
aiosqlite
crccheck
cryptography
jsonschema
pyserial-asyncio
typing-extensions
pycryptodome
voluptuous
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources
] ++ lib.optionals (pythonOlder "3.11") [
async-timeout
];
nativeCheckInputs = [