Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / python-tado / default.nix
bloba273b33a208480cf1ea4524b74c16d691387dc8c
1 { buildPythonPackage
2 , fetchFromGitHub
3 , lib
4 , pytestCheckHook
5 , pythonOlder
6 , requests
7 }:
9 buildPythonPackage rec {
10   pname = "python-tado";
11   version = "0.17.5";
12   format = "setuptools";
14   disabled = pythonOlder "3.5";
16   src = fetchFromGitHub {
17     owner = "wmalgadey";
18     repo = "PyTado";
19     rev = "refs/tags/${version}";
20     hash = "sha256-FjdqZc4Zt2sLYJpnD/MAzr8Y9lGHteHB5psQqheS84I=";
21   };
23   propagatedBuildInputs = [
24     requests
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   meta = with lib; {
32     description = "Python binding for Tado web API. Pythonize your central heating!";
33     mainProgram = "pytado";
34     homepage = "https://github.com/wmalgadey/PyTado";
35     changelog = "https://github.com/wmalgadey/PyTado/releases/tag/${version}";
36     license = licenses.gpl3Plus;
37     maintainers = with maintainers; [ jamiemagee ];
38   };