{ lib, buildPythonPackage, fetchFromGitHub, setuptools, bleak, construct-typing, pytest-asyncio, pytestCheckHook, }: buildPythonPackage rec { pname = "eq3btsmart"; version = "2.1.0"; pyproject = true; src = fetchFromGitHub { owner = "EuleMitKeule"; repo = "eq3btsmart"; tag = version; hash = "sha256-JPmIKj8IL3i7QWiMTmGQzqb4h0VqLlhILPAOqMucsuM="; }; build-system = [ setuptools ]; dependencies = [ bleak construct-typing ]; pythonImportsCheck = [ "eq3btsmart" ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; meta = { changelog = "https://github.com/EuleMitKeule/eq3btsmart/releases/tag/${src.tag}"; description = "Python library that allows interaction with eQ-3 Bluetooth smart thermostats"; homepage = "https://github.com/EuleMitKeule/eq3btsmart"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; }