1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchPypi 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "twinkly-client"; 10 version = "0.0.3"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-F/N6yMOvLHIfXvPyR7z3P/Rlh79OvCbvEiNwClLSLl8="; 18 }; 19 20 propagatedBuildInputs = [ 21 aiohttp 22 ]; 23 24 # Project has no tests 25 doCheck = false; 26 27 pythonImportsCheck = [ 28 "twinkly_client" 29 ]; 30 31 meta = with lib; { 32 description = "Python module to communicate with Twinkly LED strings"; 33 homepage = "https://github.com/dr1rrb/py-twinkly-client"; 34 license = with licenses; [ asl20 ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}