{ lib, aioconsole, aiohttp, aioresponses, async-timeout, buildPythonPackage, fetchFromGitHub, pytest-asyncio, pytest-mock, pytestCheckHook, pythonOlder, setuptools, websockets, }: buildPythonPackage rec { pname = "whirlpool-sixth-sense"; version = "0.21.3"; pyproject = true; disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "abmantis"; repo = "whirlpool-sixth-sense"; tag = version; hash = "sha256-ZZrLqHn/O+Z2XtiCIco5PMEprbi9XeJOBXcEdjTDPDc="; }; build-system = [ setuptools ]; dependencies = [ aioconsole aiohttp async-timeout websockets ]; nativeCheckInputs = [ aioresponses pytest-asyncio pytest-mock pytestCheckHook ]; pythonImportsCheck = [ "whirlpool" ]; meta = with lib; { description = "Python library for Whirlpool 6th Sense appliances"; homepage = "https://github.com/abmantis/whirlpool-sixth-sense/"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; }