1{ buildPythonPackage, fetchPypi, lib, python-dateutil, requests 2, six, sseclient-py }: 3 4buildPythonPackage rec { 5 pname = "python-nest"; 6 version = "4.1.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "12iyypbl92ybh8w1bf4z0c2g0sb9id2c07c89vzvnlxgjylw3wbi"; 11 }; 12 13 propagatedBuildInputs = [ python-dateutil requests six sseclient-py ]; 14 # has no tests 15 doCheck = false; 16 pythonImportsCheck = [ "nest" ]; 17 18 meta = with lib; { 19 description = 20 "Python API and command line tool for talking to the Nest Thermostat"; 21 homepage = "https://github.com/jkoelker/python-nest"; 22 license = licenses.cc-by-nc-sa-40; 23 maintainers = with maintainers; [ jamiemagee ]; 24 }; 25}