Unverified Commit 72debd9b authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python314Packages.goodwe: fix build (#497363)

parents 3f643d4d 2d7c0437
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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 ];