1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 zeroconf,
7}:
8
9buildPythonPackage rec {
10 pname = "envoy-utils";
11 version = "0.0.1";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.8";
15
16 src = fetchPypi {
17 pname = "envoy_utils";
18 inherit version;
19 sha256 = "13zn0d6k2a4nls9vp8cs0w07bgg4138vz18cadjadhm8p6r3bi0c";
20 };
21
22 propagatedBuildInputs = [ zeroconf ];
23
24 # Project has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "envoy_utils" ];
28
29 meta = with lib; {
30 description = "Python utilities for the Enphase Envoy";
31 homepage = "https://pypi.org/project/envoy-utils/";
32 license = licenses.gpl3Plus;
33 maintainers = with maintainers; [ fab ];
34 };
35}