@@ -0,0 +1,31 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, requests
5+}:
6+
7+buildPythonPackage rec {
8+ pname = "python-ecobee-api";
9+ version = "0.2.13";
10+
11+ src = fetchPypi {
12+ inherit pname version;
13+ sha256 = "7c39f5aac854a2fb8fb33f41b351769a92ff784bc6112e7a5c1b9e1949a0fefe";
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+}