1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 pythonOlder, 6 aiolifx, 7}: 8 9buildPythonPackage rec { 10 pname = "aiolifx-connection"; 11 version = "1.0.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 pname = "aiolifx_connection"; 18 inherit version; 19 hash = "sha256:09fydp5fqqh1s0vav39mw98i1la6qcgk17gch0m5ihyl9q50ks13"; 20 }; 21 22 propagatedBuildInputs = [ aiolifx ]; 23 24 # tests are not implemented 25 doCheck = false; 26 27 pythonImportsCheck = [ "aiolifx_connection" ]; 28 29 meta = with lib; { 30 description = "Wrapper for aiolifx to connect to a single LIFX device"; 31 homepage = "https://github.com/bdraco/aiolifx_connection"; 32 license = licenses.bsd3; 33 maintainers = with maintainers; [ lukegb ]; 34 }; 35}