at 23.05-pre 39 lines 790 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, websockets 6}: 7 8buildPythonPackage rec { 9 pname = "aiowebostv"; 10 version = "0.2.1"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.8"; 14 15 src = fetchFromGitHub { 16 owner = "home-assistant-libs"; 17 repo = pname; 18 rev = "refs/tags/v${version}"; 19 hash = "sha256-r/XdxF7/g6uDQIATi/OC6lNTUtBZg1jdgZHZilPPFNc="; 20 }; 21 22 propagatedBuildInputs = [ 23 websockets 24 ]; 25 26 # Module doesn't have tests 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "aiowebostv" 31 ]; 32 33 meta = with lib; { 34 description = "Module to interact with LG webOS based TV devices"; 35 homepage = "https://github.com/home-assistant-libs/aiowebostv"; 36 license = with licenses; [ asl20 ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}