python312Packages.bellows: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-05-04 15:52:37 +02:00
parent df13ba1eae
commit 61706d2720

View file

@ -1,18 +1,19 @@
{ lib {
, async-timeout lib,
, buildPythonPackage async-timeout,
, click buildPythonPackage,
, click-log click,
, fetchFromGitHub click-log,
, pure-pcapy3 fetchFromGitHub,
, pyserial-asyncio pure-pcapy3,
, pytest-asyncio pyserial-asyncio,
, pytest-timeout pytest-asyncio,
, pytestCheckHook pytest-timeout,
, pythonOlder pytestCheckHook,
, setuptools pythonOlder,
, voluptuous setuptools,
, zigpy voluptuous,
zigpy,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -35,9 +36,7 @@ buildPythonPackage rec {
--replace-fail 'dynamic = ["version"]' 'version = "${version}"' --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
''; '';
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = [ dependencies = [
click click
@ -46,9 +45,7 @@ buildPythonPackage rec {
pyserial-asyncio pyserial-asyncio
voluptuous voluptuous
zigpy zigpy
] ++ lib.optionals (pythonOlder "3.11") [ ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ];
async-timeout
];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
@ -56,9 +53,7 @@ buildPythonPackage rec {
pytest-timeout pytest-timeout
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "bellows" ];
"bellows"
];
meta = with lib; { meta = with lib; {
description = "Python module to implement EZSP for EmberZNet devices"; description = "Python module to implement EZSP for EmberZNet devices";