2021-11-13 12:43:29 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, python-dateutil, requests
|
2020-09-24 13:01:06 +01:00
|
|
|
, six, sseclient-py }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-nest";
|
|
|
|
version = "4.1.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "12iyypbl92ybh8w1bf4z0c2g0sb9id2c07c89vzvnlxgjylw3wbi";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ python-dateutil requests six sseclient-py ];
|
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "nest" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description =
|
|
|
|
"Python API and command line tool for talking to the Nest™ Thermostat";
|
|
|
|
homepage = "https://github.com/jkoelker/python-nest";
|
|
|
|
license = licenses.cc-by-nc-sa-40;
|
|
|
|
maintainers = with maintainers; [ jamiemagee ];
|
|
|
|
};
|
|
|
|
}
|