{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, hatchling, }: buildPythonPackage rec { pname = "pybravia"; version = "0.4.1"; pyproject = true; src = fetchFromGitHub { owner = "Drafteed"; repo = "pybravia"; tag = "v${version}"; hash = "sha256-VNdjdNmWcl8s1jRlA40DHlku3CPL59nJ4pZklZ452FU="; }; build-system = [ hatchling ]; dependencies = [ aiohttp ]; # Module has no tests doCheck = false; pythonImportsCheck = [ "pybravia" ]; meta = { description = "Library for remote control of Sony Bravia TVs 2013 and newer"; homepage = "https://github.com/Drafteed/pybravia"; changelog = "https://github.com/Drafteed/pybravia/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; }