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