1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 requests-oauthlib, 7}: 8 9buildPythonPackage rec { 10 pname = "python-google-nest"; 11 version = "5.2.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-qL4Qk2NW41Sb9raF0vnEb04w3uyaWPauDnNY+DvnNgQ="; 19 }; 20 21 propagatedBuildInputs = [ requests-oauthlib ]; 22 23 # Project has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "nest" ]; 27 28 meta = with lib; { 29 description = "Python API and command line tool for talking to Nest thermostats"; 30 homepage = "https://github.com/axlan/python-nest/"; 31 license = licenses.cc-by-nc-sa-30; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}