1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, async-timeout 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "pyevilgenius"; 11 version = "1.0.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; 15 16 src = fetchFromGitHub { 17 owner = "home-assistant-libs"; 18 repo = pname; 19 rev = version; 20 sha256 = "06xnl93sqklg7gx0z50vm79xwww0yyw05c1yynajc9aijfi8cmi3"; 21 }; 22 23 propagatedBuildInputs = [ 24 aiohttp 25 async-timeout 26 ]; 27 28 # Project has no test 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "pyevilgenius" 33 ]; 34 35 meta = with lib; { 36 description = "Python SDK to interact with Evil Genius Labs devices"; 37 homepage = "https://github.com/home-assistant-libs/pyevilgenius"; 38 changelog = "https://github.com/home-assistant-libs/pyevilgenius/releases/tag/${version}"; 39 license = with licenses; [ asl20 ]; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}