1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 pythonOlder, 6 aiolifx, 7}: 8 9buildPythonPackage rec { 10 pname = "aiolifx-effects"; 11 version = "0.3.2"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit version; 18 pname = "aiolifx_effects"; 19 hash = "sha256-Mhxs5PNr2W9ych56WYUZTEGck4HVTQfkil3S3zHv6Qc="; 20 }; 21 22 propagatedBuildInputs = [ aiolifx ]; 23 24 # tests are not implemented 25 doCheck = false; 26 27 pythonImportsCheck = [ "aiolifx_effects" ]; 28 29 meta = with lib; { 30 changelog = "https://github.com/amelchio/aiolifx_effects/releases/tag/v${version}"; 31 description = "Light effects (pulse, colorloop ...) for LIFX lights running on aiolifx"; 32 homepage = "https://github.com/amelchio/aiolifx_effects"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ netixx ]; 35 }; 36}