1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchPypi 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "aioaladdinconnect"; 10 version = "0.1.58"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 pname = "AIOAladdinConnect"; 17 inherit version; 18 hash = "sha256-ymynaOKvnqqHIEuQc+5CagsaH5cHnQit8ileoUO6G+I="; 19 }; 20 21 propagatedBuildInputs = [ 22 aiohttp 23 ]; 24 25 # Module has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ 29 "AIOAladdinConnect" 30 ]; 31 32 meta = with lib; { 33 description = "Library for controlling Genie garage doors connected to Aladdin Connect devices"; 34 homepage = "https://github.com/mkmer/AIOAladdinConnect"; 35 changelog = "https://github.com/mkmer/AIOAladdinConnect/releases/tag/${version}"; 36 license = with licenses; [ mit ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}