1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, poetry-core 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "pybravia"; 11 version = "0.3.3"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.8"; 15 16 src = fetchFromGitHub { 17 owner = "Drafteed"; 18 repo = pname; 19 rev = "v${version}"; 20 hash = "sha256-Ux9EereKKbgaVQORliW6J5FSBlytLM+m4PVFBk+OW6k="; 21 }; 22 23 nativeBuildInputs = [ 24 poetry-core 25 ]; 26 27 propagatedBuildInputs = [ 28 aiohttp 29 ]; 30 31 # Module has no tests 32 doCheck = false; 33 34 pythonImportsCheck = [ 35 "pybravia" 36 ]; 37 38 meta = with lib; { 39 description = "Library for remote control of Sony Bravia TVs 2013 and newer"; 40 homepage = "https://github.com/Drafteed/pybravia"; 41 changelog = "https://github.com/Drafteed/pybravia/releases/tag/v${version}"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}