1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchPypi,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "goalzero";
11 version = "0.2.2";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.6";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-h/EaEOe0zvnO5BYfcIyC3Vq8sPED6ts1IeI/GM+vm7c=";
19 };
20
21 propagatedBuildInputs = [ aiohttp ];
22
23 # no tests implemented
24 doCheck = false;
25
26 pythonImportsCheck = [ "goalzero" ];
27
28 meta = with lib; {
29 description = "Goal Zero Yeti REST Api Library";
30 homepage = "https://github.com/tkdrob/goalzero";
31 license = licenses.mit;
32 maintainers = with maintainers; [ dotlambda ];
33 };
34}