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