16 buildPythonPackage rec {
17 pname = "envoy-reader";
19 format = "setuptools";
21 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
25 repo = "envoy_reader";
27 sha256 = "sha256-aIpZ4ln4L57HwK8H0FqsyNnXosnAp3ingrJI6/MPS90=";
30 propagatedBuildInputs = [
45 substituteInPlace setup.py \
46 --replace "pytest-runner>=5.2" "" \
47 --replace "pyjwt==2.1.0" "pyjwt>=2.1.0"
50 pythonImportsCheck = [
55 description = "Python module to read from Enphase Envoy units";
56 homepage = "https://github.com/jesserizzo/envoy_reader";
57 license = licenses.mit;
58 maintainers = with maintainers; [ fab ];