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