@@ -0,0 +1,26 @@
1+{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, pythonOlder, requests }:
2+
3+buildPythonPackage rec {
4+ pname = "python-tado";
5+ version = "0.9.0";
6+
7+ disabled = pythonOlder "3.5";
8+
9+ src = fetchFromGitHub {
10+ owner = "wmalgadey";
11+ repo = "PyTado";
12+ rev = version;
13+ sha256 = "0cr5sxdvjgdrrlhl32rs8pwyay8liyi6prm37y66dn00b41cb5l3";
14+ };
15+
16+ propagatedBuildInputs = [ requests ];
17+ checkInputs = [ pytestCheckHook ];
18+
19+ meta = with lib; {
20+ description =
21+ "Python binding for Tado web API. Pythonize your central heating!";
22+ homepage = "https://github.com/wmalgadey/PyTado";
23+ license = licenses.gpl3Plus;
24+ maintainers = with maintainers; [ jamiemagee ];
25+ };
26+}