{ lib, aiohttp, async-timeout, buildPythonPackage, fetchFromGitHub, setuptools, }: buildPythonPackage rec { pname = "volkszaehler"; version = "0.5.2"; pyproject = true; src = fetchFromGitHub { owner = "home-assistant-ecosystem"; repo = "python-volkszaehler"; tag = version; hash = "sha256-2XOV+Cft7xLIDNDpwNc+F8VasCYD8XEkxnwW0iS/p9U="; }; build-system = [ setuptools ]; dependencies = [ aiohttp async-timeout ]; # no tests are present doCheck = false; pythonImportsCheck = [ "volkszaehler" ]; meta = { description = "Python module for interacting with the Volkszahler API"; homepage = "https://github.com/home-assistant-ecosystem/python-volkszaehler"; changelog = "https://github.com/home-assistant-ecosystem/python-volkszaehler/releases/tag/${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; }