depot/third_party/nixpkgs/pkgs/development/python-modules/python-tado/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

38 lines
830 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, lib
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "python-tado";
version = "0.17.4";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "wmalgadey";
repo = "PyTado";
rev = "refs/tags/${version}";
hash = "sha256-Wdd9HdsQjaYlL8knhMuO87+dom+aTsmrLRK0UdrpsbQ=";
};
propagatedBuildInputs = [
requests
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Python binding for Tado web API. Pythonize your central heating!";
homepage = "https://github.com/wmalgadey/PyTado";
changelog = "https://github.com/wmalgadey/PyTado/releases/tag/${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ jamiemagee ];
};
}