python312Packages.goodwe: foramt with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-10 10:30:55 +02:00
parent a91f6fbe05
commit b38c346ad2

View File

@ -1,9 +1,10 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, pytestCheckHook fetchFromGitHub,
, pythonOlder pytestCheckHook,
, setuptools pythonOlder,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -26,17 +27,11 @@ buildPythonPackage rec {
--replace-fail "version: file: VERSION" "version = ${version}" --replace-fail "version: file: VERSION" "version = ${version}"
''; '';
build-system = [ build-system = [ setuptools ];
setuptools
];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "goodwe" ];
"goodwe"
];
meta = with lib; { meta = with lib; {
description = "Python library for connecting to GoodWe inverter"; description = "Python library for connecting to GoodWe inverter";