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 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";