1{ 2 aiohttp, 3 buildPythonPackage, 4 colorlog, 5 fetchFromGitHub, 6 lib, 7 setuptools, 8 websockets, 9}: 10 11buildPythonPackage rec { 12 pname = "livisi"; 13 version = "0.0.25"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "planbnet"; 18 repo = "livisi"; 19 tag = "v${version}"; 20 hash = "sha256-kEkbuZmYzxhrbTdo7eZJYu2N2uJtfspgqepplXvSXFg="; 21 }; 22 23 pythonRelaxDeps = [ "colorlog" ]; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 aiohttp 29 colorlog 30 websockets 31 ]; 32 33 pythonImportsCheck = [ "livisi" ]; 34 35 # upstream has no tests 36 doCheck = false; 37 38 meta = { 39 description = "Connection library for the abandoned Livisi Smart Home system"; 40 homepage = "https://github.com/planbnet/livisi"; 41 license = lib.licenses.asl20; 42 maintainers = with lib.maintainers; [ dotlambda ]; 43 }; 44}