Commit d916ccc8 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.unifi-discovery: format with nixfmt

parent bfb89ba7
Loading
Loading
Loading
Loading
+14 −19
Original line number Diff line number Diff line
{ 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";