python312Packages.aiounifi: format with nixfmt
This commit is contained in:
parent
d0e24b1602
commit
444887d048
|
@ -1,16 +1,17 @@
|
||||||
{ lib
|
{
|
||||||
, aiohttp
|
lib,
|
||||||
, aioresponses
|
aiohttp,
|
||||||
, buildPythonPackage
|
aioresponses,
|
||||||
, fetchFromGitHub
|
buildPythonPackage,
|
||||||
, orjson
|
fetchFromGitHub,
|
||||||
, pytest-aiohttp
|
orjson,
|
||||||
, pytest-asyncio
|
pytest-aiohttp,
|
||||||
, pytestCheckHook
|
pytest-asyncio,
|
||||||
, pythonOlder
|
pytestCheckHook,
|
||||||
, segno
|
pythonOlder,
|
||||||
, setuptools
|
segno,
|
||||||
, trustme
|
setuptools,
|
||||||
|
trustme,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -35,9 +36,7 @@ buildPythonPackage rec {
|
||||||
sed -i '/--cov=/d' pyproject.toml
|
sed -i '/--cov=/d' pyproject.toml
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [
|
build-system = [ setuptools ];
|
||||||
setuptools
|
|
||||||
];
|
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
aiohttp
|
aiohttp
|
||||||
|
@ -53,13 +52,9 @@ buildPythonPackage rec {
|
||||||
trustme
|
trustme
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [ "--asyncio-mode=auto" ];
|
||||||
"--asyncio-mode=auto"
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "aiounifi" ];
|
||||||
"aiounifi"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python library for communicating with Unifi Controller API";
|
description = "Python library for communicating with Unifi Controller API";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user