Merge pull request #309044 from fabaff/bellows-bump

python312Packages.bellows: format with nixfmt
This commit is contained in:
Fabian Affolter 2024-05-10 14:49:05 +02:00 committed by GitHub
commit 2ddef55de9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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