1{ 2 lib, 3 buildPythonPackage, 4 cryptography, 5 fetchPypi, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "aiobroadlink"; 11 version = "0.1.3"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-uTUtDhL9VtWZE+Y6ZJY4prmlE+Yh2UrCg5+eSyAQzMk="; 19 }; 20 21 propagatedBuildInputs = [ cryptography ]; 22 23 # Project has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "aiobroadlink" ]; 27 28 meta = with lib; { 29 description = "Python module to control various Broadlink devices"; 30 mainProgram = "aiobroadlink"; 31 homepage = "https://github.com/frawau/aiobroadlink"; 32 license = with licenses; [ mit ]; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}