Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 26 lines 696 B view raw
1{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, pythonOlder, requests }: 2 3buildPythonPackage rec { 4 pname = "python-tado"; 5 version = "0.11.0"; 6 7 disabled = pythonOlder "3.5"; 8 9 src = fetchFromGitHub { 10 owner = "wmalgadey"; 11 repo = "PyTado"; 12 rev = version; 13 sha256 = "0fw4f9gqnhxwpxyb34qi8bl5pmzz13h4x3mdk903hhjyccanqncr"; 14 }; 15 16 propagatedBuildInputs = [ requests ]; 17 checkInputs = [ pytestCheckHook ]; 18 19 meta = with lib; { 20 description = 21 "Python binding for Tado web API. Pythonize your central heating!"; 22 homepage = "https://github.com/wmalgadey/PyTado"; 23 license = licenses.gpl3Plus; 24 maintainers = with maintainers; [ jamiemagee ]; 25 }; 26}