Commit ec41ac24 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.goodwe: 0.4.8 -> 0.4.9

parent 865ee79f
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -8,22 +8,16 @@

buildPythonPackage rec {
  pname = "goodwe";
  version = "0.4.8";
  version = "0.4.9";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "marcelblijleven";
    repo = "goodwe";
    tag = "v${version}";
    hash = "sha256-EsMv4hzGsAV9OTFo2b/omM4hx7XxUcdO6rrMzQ3DmNQ=";
    hash = "sha256-WHLvfAlwhcA0JFSWfwUPsJ9dWmadIjyonXEP3Bb6WKE=";
  };

  postPatch = ''
    substituteInPlace setup.cfg \
      --replace-fail "'marcelblijleven@gmail.com" "marcelblijleven@gmail.com" \
      --replace-fail "version: file: VERSION" "version = ${version}"
  '';

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];