9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
39 lines
825 B
Nix
39 lines
825 B
Nix
{ buildPythonPackage
|
|
, fetchFromGitHub
|
|
, lib
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "python-tado";
|
|
version = "0.16.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wmalgadey";
|
|
repo = "PyTado";
|
|
# https://github.com/wmalgadey/PyTado/issues/62
|
|
rev = "674dbc450170a380e76460c22d6ba943dfedb8e9";
|
|
hash = "sha256-gduqQVw/a64aDzTHFmgZu7OVB53jZb7L5vofzL3Ho6s=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|