Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 643 B view raw
1{ stdenv, buildPythonPackage, fetchFromGitHub }: 2 3buildPythonPackage rec { 4 pname = "PyTado"; 5 version = "0.2.7"; 6 7 src = fetchFromGitHub { 8 owner = "wmalgadey"; 9 repo = pname; 10 # Upstream hasn't tagged this release yet. This commit fixes the build. 11 rev = "79a5dfdf75cd9a3e1a1ee8a8ff0d08923aebda7b"; 12 sha256 = "14xdfw4913g4j4h576hjbigm7fiw8k0dc8s98gh2ag9xrc2ifgr0"; 13 }; 14 15 meta = with stdenv.lib; { 16 description = "Python binding for Tado web API. Pythonize your central heating!"; 17 homepage = "https://github.com/wmalgadey/PyTado"; 18 license = licenses.gpl3; 19 maintainers = with maintainers; [ elseym ]; 20 }; 21}