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