python312Packages.aiounifi: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-19 08:40:00 +02:00
parent d0e24b1602
commit 444887d048
1 changed files with 17 additions and 22 deletions

View File

@ -1,16 +1,17 @@
{ lib
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, orjson
, pytest-aiohttp
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, segno
, setuptools
, trustme
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
orjson,
pytest-aiohttp,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
segno,
setuptools,
trustme,
}:
buildPythonPackage rec {
@ -35,9 +36,7 @@ buildPythonPackage rec {
sed -i '/--cov=/d' pyproject.toml
'';
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
aiohttp
@ -53,13 +52,9 @@ buildPythonPackage rec {
trustme
];
pytestFlagsArray = [
"--asyncio-mode=auto"
];
pytestFlagsArray = [ "--asyncio-mode=auto" ];
pythonImportsCheck = [
"aiounifi"
];
pythonImportsCheck = [ "aiounifi" ];
meta = with lib; {
description = "Python library for communicating with Unifi Controller API";