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