17 buildPythonPackage rec {
18 pname = "envoy-reader";
22 disabled = pythonOlder "3.7";
24 src = fetchFromGitHub {
26 repo = "envoy_reader";
28 hash = "sha256-aIpZ4ln4L57HwK8H0FqsyNnXosnAp3ingrJI6/MPS90=";
31 build-system = [ setuptools ];
47 pythonRelaxDeps = [ "pyjwt" ];
50 substituteInPlace setup.py \
51 --replace-fail "pytest-runner>=5.2" ""
54 pythonImportsCheck = [ "envoy_reader" ];
57 description = "Python module to read from Enphase Envoy units";
58 homepage = "https://github.com/jesserizzo/envoy_reader";
59 license = licenses.mit;
60 maintainers = with maintainers; [ fab ];