1{ 2 lib, 3 aiohttp, 4 aioresponses, 5 buildPythonPackage, 6 fetchFromGitHub, 7 pyjwt, 8 pytestCheckHook, 9 pythonOlder, 10 yarl, 11}: 12 13buildPythonPackage rec { 14 pname = "homepluscontrol"; 15 version = "0.1"; 16 format = "setuptools"; 17 disabled = pythonOlder "3.6"; 18 19 src = fetchFromGitHub { 20 owner = "chemaaa"; 21 repo = "homepluscontrol"; 22 rev = version; 23 hash = "sha256-COOGqfYiR4tueQHXuCvVxShrYS0XNltcW4mclbFWcfA="; 24 }; 25 26 propagatedBuildInputs = [ 27 aiohttp 28 pyjwt 29 yarl 30 ]; 31 32 nativeCheckInputs = [ 33 aioresponses 34 pytestCheckHook 35 ]; 36 37 pythonImportsCheck = [ "homepluscontrol" ]; 38 39 meta = with lib; { 40 description = "Python API to interact with the Legrand Eliot Home and Control"; 41 homepage = "https://github.com/chemaaa/homepluscontrol"; 42 license = with licenses; [ gpl3Only ]; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}