Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 40 lines 934 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 setuptools, 7 websockets, 8}: 9 10buildPythonPackage rec { 11 pname = "aiowebostv"; 12 version = "0.4.2"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.9"; 16 17 src = fetchFromGitHub { 18 owner = "home-assistant-libs"; 19 repo = "aiowebostv"; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-RrSEl/U6UzPoE2151opDe0QRmj6M6wAtsQyF4/dd8ek="; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 propagatedBuildInputs = [ websockets ]; 27 28 # Module doesn't have tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "aiowebostv" ]; 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 changelog = "https://github.com/home-assistant-libs/aiowebostv/releases/tag/v${version}"; 37 license = with licenses; [ asl20 ]; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}