20 buildPythonPackage rec {
25 disabled = pythonOlder "3.11";
27 src = fetchFromGitHub {
30 rev = "refs/tags/v${version}";
31 hash = "sha256-sjZaLqTYoXJ1cpaSuyLNAsUrACOMVah7DKaKxGkG0zE=";
35 substituteInPlace pyproject.toml \
36 --replace-fail " --cov=pyenphase --cov-report=term-missing:skip-covered" ""
39 build-system = [ poetry-core ];
59 # https://github.com/pyenphase/pyenphase/issues/97
60 "test_with_7_x_firmware"
63 pythonImportsCheck = [ "pyenphase" ];
66 description = "Library to control enphase envoy";
67 homepage = "https://github.com/pyenphase/pyenphase";
68 changelog = "https://github.com/pyenphase/pyenphase/blob/v${version}/CHANGELOG.md";
69 license = licenses.mit;
70 maintainers = with maintainers; [ fab ];