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