1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, protobuf 5, pycryptodome 6, pythonOlder 7, requests 8}: 9 10buildPythonPackage rec { 11 pname = "lakeside"; 12 version = "0.13"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "nkgilley"; 19 repo = "python-lakeside"; 20 rev = "refs/tags/${version}"; 21 hash = "sha256-Y5g78trkwOF3jsbgTv0uVkvfB1HZN+w1T6xIorxGAhg="; 22 }; 23 24 propagatedBuildInputs = [ 25 protobuf 26 pycryptodome 27 requests 28 ]; 29 30 # Module has no tests 31 doCheck = false; 32 33 pythonImportsCheck = [ 34 "lakeside" 35 ]; 36 37 meta = with lib; { 38 description = "Library for controlling LED bulbs from Eufy"; 39 homepage = "https://github.com/nkgilley/python-lakeside"; 40 changelog = "https://github.com/nkgilley/python-lakeside/releases/tag/${version}"; 41 license = licenses.asl20; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}