2021-06-18 00:21:29 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-ecobee-api";
|
2021-11-08 23:57:43 +01:00
|
|
|
version = "0.2.14";
|
2021-06-18 00:21:29 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-11-08 23:57:43 +01:00
|
|
|
sha256 = "sha256-QfVOgX/psFB/l9dPBcaHh+2v9+7LjDCUAvaEQjUrxmA=";
|
2021-06-18 00:21:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
# no tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pyecobee" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python API for talking to Ecobee thermostats";
|
|
|
|
homepage = "https://github.com/nkgilley/python-ecobee-api";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|