python312Packages.unifi-discovery: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-05-22 12:20:00 +02:00
parent bfb89ba7b9
commit d916ccc847

View File

@ -1,13 +1,14 @@
{ lib
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pyroute2
, pytest-asyncio
, pytestCheckHook
, pythonOlder
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pyroute2,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
@ -29,9 +30,7 @@ buildPythonPackage rec {
--replace-fail "--cov=unifi_discovery --cov-report=term-missing:skip-covered" ""
'';
build-system = [
poetry-core
];
build-system = [ poetry-core ];
dependencies = [
aiohttp
@ -44,13 +43,9 @@ buildPythonPackage rec {
pytestCheckHook
];
pytestFlagsArray = [
"--asyncio-mode=auto"
];
pytestFlagsArray = [ "--asyncio-mode=auto" ];
pythonImportsCheck = [
"unifi_discovery"
];
pythonImportsCheck = [ "unifi_discovery" ];
meta = with lib; {
description = "Module to discover Unifi devices";