python314Packages.goodwe: fix build (#497363)

This commit is contained in:
Fabian Affolter
2026-03-07 10:05:20 +00:00
committed by GitHub
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
pytestCheckHook,
setuptools,
}:
@@ -18,6 +19,14 @@ buildPythonPackage (finalAttrs: {
hash = "sha256-WHLvfAlwhcA0JFSWfwUPsJ9dWmadIjyonXEP3Bb6WKE=";
};
patches = [
(fetchpatch {
name = "python-3.14.patch";
url = "https://github.com/marcelblijleven/goodwe/commit/3a1e57109e61860f59a03626a7e21ee44bbb3639.patch";
hash = "sha256-ZYmEdWpOjrU61HAyhNG04oTrSH8F+LUEUskxKkoufu4=";
})
];
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];