1{ lib 2, aiohttp 3, aresponses 4, buildPythonPackage 5, fetchFromGitHub 6, poetry-core 7, pytest-aiohttp 8, pytest-asyncio 9, pytest-cov 10, pytestCheckHook 11, pythonOlder 12}: 13 14buildPythonPackage rec { 15 pname = "aionotion"; 16 version = "2022.10.0"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchFromGitHub { 22 owner = "bachya"; 23 repo = pname; 24 rev = version; 25 hash = "sha256-DJkqFj87N8OlWHNto+tInj8QvVoNA9faLBb/pBbQl0U="; 26 }; 27 28 nativeBuildInputs = [ 29 poetry-core 30 ]; 31 32 propagatedBuildInputs = [ 33 aiohttp 34 ]; 35 36 checkInputs = [ 37 aresponses 38 pytest-aiohttp 39 pytest-asyncio 40 pytest-cov 41 pytestCheckHook 42 ]; 43 44 disabledTestPaths = [ 45 "examples" 46 ]; 47 48 pythonImportsCheck = [ 49 "aionotion" 50 ]; 51 52 meta = with lib; { 53 description = "Python library for Notion Home Monitoring"; 54 homepage = "https://github.com/bachya/aionotion"; 55 license = with licenses; [ mit ]; 56 maintainers = with maintainers; [ fab ]; 57 }; 58}