Merge pull request #107956 from JamieMagee/python-tado

pythonPackages.python-tado: init at 0.9.0
This commit is contained in:
Pavol Rusnak 2020-12-30 21:02:46 +01:00 committed by GitHub
commit 2435d5e2e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,26 @@
{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, pythonOlder, requests }:
buildPythonPackage rec {
pname = "python-tado";
version = "0.9.0";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "wmalgadey";
repo = "PyTado";
rev = version;
sha256 = "0cr5sxdvjgdrrlhl32rs8pwyay8liyi6prm37y66dn00b41cb5l3";
};
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 ];
};
}

View File

@ -811,7 +811,7 @@
"system_health" = ps: with ps; [ aiohttp-cors ];
"system_log" = ps: with ps; [ aiohttp-cors ];
"systemmonitor" = ps: with ps; [ psutil ];
"tado" = ps: with ps; [ ]; # missing inputs: python-tado
"tado" = ps: with ps; [ python-tado ];
"tag" = ps: with ps; [ ];
"tahoma" = ps: with ps; [ ]; # missing inputs: tahoma-api
"tank_utility" = ps: with ps; [ ]; # missing inputs: tank_utility

View File

@ -4683,6 +4683,8 @@ in {
python-openems = callPackage ../development/python-modules/python-openems { };
python-tado = callPackage ../development/python-modules/python-tado { };
pkutils = callPackage ../development/python-modules/pkutils { };
plac = callPackage ../development/python-modules/plac { };