2021-01-05 17:05:55 +00:00
|
|
|
{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, pythonOlder, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-tado";
|
2021-10-07 14:46:35 +00:00
|
|
|
version = "0.12.0";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wmalgadey";
|
|
|
|
repo = "PyTado";
|
|
|
|
rev = version;
|
2021-10-07 14:46:35 +00:00
|
|
|
sha256 = "sha256-n+H6H2ORLizv9cn1P5Cd8wHDWMNonPrs+x+XMQbEzZQ=";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description =
|
|
|
|
"Python binding for Tado web API. Pythonize your central heating!";
|
|
|
|
homepage = "https://github.com/wmalgadey/PyTado";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ jamiemagee ];
|
|
|
|
};
|
|
|
|
}
|