9 buildPythonPackage rec {
14 disabled = pythonOlder "3.8";
16 src = fetchFromGitHub {
17 owner = "marcelblijleven";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-Uj4f3OcPRqbMaM0ADP6OlPQAXFfCYZS0/qbz9eXGLv0=";
24 substituteInPlace setup.cfg \
25 --replace "'marcelblijleven@gmail.com" "marcelblijleven@gmail.com" \
26 --replace "version: file: VERSION" "version = ${version}"
33 pythonImportsCheck = [
43 description = "Python library for connecting to GoodWe inverter";
44 homepage = "https://github.com/marcelblijleven/goodwe";
45 changelog = "https://github.com/marcelblijleven/goodwe/releases/tag/v${version}";
46 license = licenses.mit;
47 maintainers = with maintainers; [ fab ];