python312Packages.goodwe: foramt with nixfmt
This commit is contained in:
parent
a91f6fbe05
commit
b38c346ad2
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user