Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / python-tado / default.nix
blob017be9041dc1a13ba5b391fc79493ff5698c12c5
1 { buildPythonPackage
2 , fetchFromGitHub
3 , lib
4 , pytestCheckHook
5 , pythonOlder
6 , requests
7 }:
9 buildPythonPackage rec {
10   pname = "python-tado";
11   version = "0.17.2";
12   format = "setuptools";
14   disabled = pythonOlder "3.5";
16   src = fetchFromGitHub {
17     owner = "wmalgadey";
18     repo = "PyTado";
19     # https://github.com/wmalgadey/PyTado/issues/62
20     rev = "refs/tags/${version}";
21     hash = "sha256-w1qtSEpnZCs7+M/0Gywz9AeMxUzz2csHKm9SxBKzmz4=";
22   };
24   propagatedBuildInputs = [
25     requests
26   ];
28   nativeCheckInputs = [
29     pytestCheckHook
30   ];
32   meta = with lib; {
33     description =
34       "Python binding for Tado web API. Pythonize your central heating!";
35     homepage = "https://github.com/wmalgadey/PyTado";
36     license = licenses.gpl3Plus;
37     maintainers = with maintainers; [ jamiemagee ];
38   };