python3Packages: format with nixfmt

This commit is contained in:
Martin Weinelt
2024-05-22 17:32:03 +02:00
parent 691216eca3
commit 59b1aef590
6796 changed files with 97594 additions and 98381 deletions
@@ -1,26 +1,27 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
# build-system
, cython
, setuptools
# build-system
cython,
setuptools,
# dependencies
, aiohappyeyeballs
, async-interrupt
, async-timeout
, chacha20poly1305-reuseable
, cryptography
, noiseprotocol
, protobuf
, zeroconf
# dependencies
aiohappyeyeballs,
async-interrupt,
async-timeout,
chacha20poly1305-reuseable,
cryptography,
noiseprotocol,
protobuf,
zeroconf,
# tests
, mock
, pytest-asyncio
, pytestCheckHook
# tests
mock,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
@@ -50,9 +51,7 @@ buildPythonPackage rec {
noiseprotocol
protobuf
zeroconf
] ++ lib.optionals (pythonOlder "3.11") [
async-timeout
];
] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ];
nativeCheckInputs = [
mock
@@ -65,15 +64,16 @@ buildPythonPackage rec {
"test_reconnect_logic_stop_callback"
];
pythonImportsCheck = [
"aioesphomeapi"
];
pythonImportsCheck = [ "aioesphomeapi" ];
meta = with lib; {
description = "Python Client for ESPHome native API";
homepage = "https://github.com/esphome/aioesphomeapi";
changelog = "https://github.com/esphome/aioesphomeapi/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab hexa ];
maintainers = with maintainers; [
fab
hexa
];
};
}