Merge pull request #303054 from fabaff/goodwe-bump

python312Packages.goodwe: 0.3.1 -> 0.3.2
This commit is contained in:
Fabian Affolter 2024-04-10 11:47:39 +02:00 committed by GitHub
commit 4760a2ba95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 18 deletions

View File

@ -1,14 +1,15 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "goodwe";
version = "0.3.1";
version = "0.3.2";
pyproject = true;
disabled = pythonOlder "3.8";
@ -17,7 +18,7 @@ buildPythonPackage rec {
owner = "marcelblijleven";
repo = "goodwe";
rev = "refs/tags/v${version}";
hash = "sha256-6KCIfCyViiBU/cez9m34FMPkTUTkmEYc/e/xYqOyJLY=";
hash = "sha256-0N2aimDj9HF0y1pitg7E2OzGk4o4kopSlvXy9x6jplk=";
};
postPatch = ''
@ -26,18 +27,11 @@ buildPythonPackage rec {
--replace-fail "version: file: VERSION" "version = ${version}"
'';
nativeBuildInputs = [
setuptools
];
build-system = [ setuptools ];
pythonImportsCheck = [
"goodwe"
];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "goodwe" ];
meta = with lib; {
description = "Python library for connecting to GoodWe inverter";