python312Packages.pyenphase: foramt with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-19 08:38:09 +02:00
parent d1a750bcf7
commit 1e4cdb9c60

View file

@ -1,19 +1,20 @@
{ lib {
, awesomeversion lib,
, buildPythonPackage awesomeversion,
, envoy-utils buildPythonPackage,
, fetchFromGitHub envoy-utils,
, httpx fetchFromGitHub,
, lxml httpx,
, orjson lxml,
, poetry-core orjson,
, pyjwt poetry-core,
, pytest-asyncio pyjwt,
, pytestCheckHook pytest-asyncio,
, pythonOlder pytestCheckHook,
, respx pythonOlder,
, syrupy respx,
, tenacity syrupy,
tenacity,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -35,9 +36,7 @@ buildPythonPackage rec {
--replace-fail " --cov=pyenphase --cov-report=term-missing:skip-covered" "" --replace-fail " --cov=pyenphase --cov-report=term-missing:skip-covered" ""
''; '';
build-system = [ build-system = [ poetry-core ];
poetry-core
];
dependencies = [ dependencies = [
awesomeversion awesomeversion
@ -61,9 +60,7 @@ buildPythonPackage rec {
"test_with_7_x_firmware" "test_with_7_x_firmware"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "pyenphase" ];
"pyenphase"
];
meta = with lib; { meta = with lib; {
description = "Library to control enphase envoy"; description = "Library to control enphase envoy";