1{ 2 lib, 3 aiohttp, 4 aioresponses, 5 buildPythonPackage, 6 deepdiff, 7 fetchFromGitHub, 8 poetry-core, 9 poetry-dynamic-versioning, 10 pycognito, 11 pyjwt, 12 pytest-aiohttp, 13 pytest-freezegun, 14 pytestCheckHook, 15 pythonOlder, 16}: 17 18buildPythonPackage rec { 19 pname = "pylitterbot"; 20 version = "2024.2.4"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.10"; 24 25 src = fetchFromGitHub { 26 owner = "natekspencer"; 27 repo = "pylitterbot"; 28 tag = "v${version}"; 29 hash = "sha256-/GN2b4rlE6j60O5ZxH8I58qwcZewAYJu0EHwQ7mrdBY="; 30 }; 31 32 pythonRelaxDeps = [ "deepdiff" ]; 33 34 build-system = [ 35 poetry-core 36 poetry-dynamic-versioning 37 ]; 38 39 dependencies = [ 40 aiohttp 41 deepdiff 42 pycognito 43 pyjwt 44 ]; 45 46 nativeCheckInputs = [ 47 aioresponses 48 pytest-aiohttp 49 pytest-freezegun 50 pytestCheckHook 51 ]; 52 53 pythonImportsCheck = [ "pylitterbot" ]; 54 55 meta = with lib; { 56 description = "Modulefor controlling a Litter-Robot"; 57 homepage = "https://github.com/natekspencer/pylitterbot"; 58 changelog = "https://github.com/natekspencer/pylitterbot/releases/tag/${src.tag}"; 59 license = with licenses; [ mit ]; 60 maintainers = with maintainers; [ fab ]; 61 }; 62}