1{ lib 2, bleak 3, buildPythonPackage 4, click 5, fetchFromGitHub 6, pytest-asyncio 7, pytest-mock 8, pytestCheckHook 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "pykulersky"; 14 version = "0.5.2"; 15 disabled = pythonOlder "3.6"; 16 17 src = fetchFromGitHub { 18 owner = "emlove"; 19 repo = pname; 20 rev = version; 21 sha256 = "1fzfixnl28rny7c3wr6gcdpqhyrz7z2aqq6qfwkxnkq2kqdbpmmg"; 22 }; 23 24 propagatedBuildInputs = [ 25 bleak 26 click 27 ]; 28 29 checkInputs = [ 30 pytest-asyncio 31 pytest-mock 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ "pykulersky" ]; 36 37 meta = with lib; { 38 description = "Python module to control Brightech Kuler Sky Bluetooth LED devices"; 39 homepage = "https://github.com/emlove/pykulersky"; 40 license = with licenses; [ asl20 ]; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}