1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, zeroconf
6}:
7
8buildPythonPackage rec {
9 pname = "envoy-utils";
10 version = "0.0.1";
11
12 disabled = pythonOlder "3.8";
13
14 src = fetchPypi {
15 pname = "envoy_utils";
16 inherit version;
17 sha256 = "13zn0d6k2a4nls9vp8cs0w07bgg4138vz18cadjadhm8p6r3bi0c";
18 };
19
20 propagatedBuildInputs = [
21 zeroconf
22 ];
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}