nixpkgs/pkgs/development/python-modules/python-tado/default.nix
Martin Weinelt bf53e79d90 python3Packages.python-tado: 0.18.16 -> 0.19.2
This commit was automatically generated using update-python-libraries.
2026-02-01 17:20:09 +01:00

59 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytest-cov-stub,
pytest-mock,
pytest-socket,
pytestCheckHook,
requests,
responses,
}:
buildPythonPackage (finalAttrs: {
pname = "python-tado";
version = "0.19.2";
pyproject = true;
src = fetchFromGitHub {
owner = "wmalgadey";
repo = "PyTado";
tag = finalAttrs.version;
hash = "sha256-me62VPjKU+vh0vo4Fl86sEse1QZYD2zDpxchSiUcxTY=";
};
build-system = [ poetry-core ];
dependencies = [ requests ];
nativeCheckInputs = [
pytest-cov-stub
pytest-mock
pytest-socket
pytestCheckHook
responses
];
disabledTests = [
# network access
"test_interface_with_tado_api"
];
disabledTestPaths = [
# network access
"tests/test_my_tado.py"
"tests/test_my_zone.py"
];
pythonImportsCheck = [ "PyTado" ];
meta = {
description = "Python binding for Tado web API";
homepage = "https://github.com/wmalgadey/PyTado";
changelog = "https://github.com/wmalgadey/PyTado/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ jamiemagee ];
mainProgram = "pytado";
};
})