1{ 2 lib, 3 aioconsole, 4 aiohttp, 5 aioresponses, 6 async-timeout, 7 buildPythonPackage, 8 fetchFromGitHub, 9 pytest-asyncio, 10 pytest-mock, 11 pytestCheckHook, 12 pythonOlder, 13 setuptools, 14 websockets, 15}: 16 17buildPythonPackage rec { 18 pname = "whirlpool-sixth-sense"; 19 version = "0.21.3"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.11"; 23 24 src = fetchFromGitHub { 25 owner = "abmantis"; 26 repo = "whirlpool-sixth-sense"; 27 tag = version; 28 hash = "sha256-ZZrLqHn/O+Z2XtiCIco5PMEprbi9XeJOBXcEdjTDPDc="; 29 }; 30 31 build-system = [ setuptools ]; 32 33 dependencies = [ 34 aioconsole 35 aiohttp 36 async-timeout 37 websockets 38 ]; 39 40 nativeCheckInputs = [ 41 aioresponses 42 pytest-asyncio 43 pytest-mock 44 pytestCheckHook 45 ]; 46 47 pythonImportsCheck = [ "whirlpool" ]; 48 49 meta = with lib; { 50 description = "Python library for Whirlpool 6th Sense appliances"; 51 homepage = "https://github.com/abmantis/whirlpool-sixth-sense/"; 52 license = with licenses; [ mit ]; 53 maintainers = with maintainers; [ fab ]; 54 }; 55}