Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 725 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, requests 6}: 7 8buildPythonPackage rec { 9 pname = "pytado"; 10 version = "0.13.0"; 11 12 src = fetchFromGitHub { 13 owner = "wmalgadey"; 14 repo = "PyTado"; 15 # Upstream hasn't tagged 0.13.0 yet 16 rev = "2a243174e9ae01ef7adae940ecc6e340992ab28d"; 17 sha256 = "Y1FxEzs/AF0ZTPdOK/1v+2U2fidfu+AmZbPddJCWIFc="; 18 }; 19 20 propagatedBuildInputs = [ 21 requests 22 ]; 23 24 nativeCheckInputs = [ 25 pytestCheckHook 26 ]; 27 28 pythonImportsCheck = [ 29 "PyTado" 30 ]; 31 32 meta = with lib; { 33 description = "Python binding for Tado web API"; 34 homepage = "https://github.com/wmalgadey/PyTado"; 35 license = licenses.gpl3; 36 maintainers = with maintainers; [ ]; 37 }; 38}