9 buildPythonPackage rec {
14 disabled = pythonOlder "3.8";
16 src = fetchFromGitHub {
17 owner = "marcelblijleven";
19 rev = "refs/tags/v${version}";
20 sha256 = "sha256-RDd0KR7NjBTlgeQ/E4mnLnB2n4NCPoAt2a62NGdzCZE=";
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 license = licenses.mit;
46 maintainers = with maintainers; [ fab ];