1{ lib
2, buildPythonPackage
3, fetchPypi
4, requests
5}:
6
7buildPythonPackage rec {
8 pname = "python-ecobee-api";
9 version = "0.2.17";
10
11 src = fetchPypi {
12 inherit pname version;
13 hash = "sha256-lJCbNOQJ8xmMa4V+tSFZx4QasK8ZLfsFavMP9Zge4K4=";
14 };
15
16 propagatedBuildInputs = [
17 requests
18 ];
19
20 # no tests implemented
21 doCheck = false;
22
23 pythonImportsCheck = [ "pyecobee" ];
24
25 meta = with lib; {
26 description = "Python API for talking to Ecobee thermostats";
27 homepage = "https://github.com/nkgilley/python-ecobee-api";
28 license = licenses.mit;
29 maintainers = with maintainers; [ dotlambda ];
30 };
31}