Merge pull request #302874 from r-ryantm/auto-update/python312Packages.pytelegrambotapi

python312Packages.pytelegrambotapi: 4.16.0 -> 4.17.0

authored by Fabian Affolter and committed by GitHub 2d4c071f c4e5d315

+33 -57
+33 -57
pkgs/development/python-modules/pyTelegramBotAPI/default.nix
··· 1 - { lib 2 - , aiohttp 3 - , aioredis 4 - , buildPythonPackage 5 - , coloredlogs 6 - , fastapi 7 - , fetchFromGitHub 8 - , hatchling 9 - , pillow 10 - , psutil 11 - , pytestCheckHook 12 - , pythonOlder 13 - , redis 14 - , requests 15 - , ujson 16 - , uvicorn 17 - , watchdog 1 + { 2 + lib, 3 + aiohttp, 4 + aioredis, 5 + buildPythonPackage, 6 + coloredlogs, 7 + fastapi, 8 + fetchFromGitHub, 9 + hatchling, 10 + pillow, 11 + psutil, 12 + pytestCheckHook, 13 + pythonOlder, 14 + redis, 15 + requests, 16 + ujson, 17 + uvicorn, 18 + watchdog, 18 19 }: 19 20 20 21 buildPythonPackage rec { 21 22 pname = "pytelegrambotapi"; 22 - version = "4.16.0"; 23 + version = "4.17.0"; 23 24 pyproject = true; 24 25 25 26 disabled = pythonOlder "3.7"; ··· 28 29 owner = "eternnoir"; 29 30 repo = "pyTelegramBotAPI"; 30 31 rev = "refs/tags/${version}"; 31 - hash = "sha256-w039aPK+PdOiiOj5ZZAUfyHQ6QDrKySVIijcOw+GIOk="; 32 + hash = "sha256-Asw6wpZs0FgsUYLVQ4u4qQgIFdvShcsN3XvgHn48cbI="; 32 33 }; 33 34 34 - nativeBuildInputs = [ 35 - hatchling 36 - ]; 35 + build-system = [ hatchling ]; 37 36 38 37 passthru.optional-dependencies = { 39 - json = [ 40 - ujson 41 - ]; 42 - PIL = [ 43 - pillow 44 - ]; 45 - redis = [ 46 - redis 47 - ]; 48 - aioredis = [ 49 - aioredis 50 - ]; 51 - aiohttp = [ 52 - aiohttp 53 - ]; 54 - fastapi = [ 55 - fastapi 56 - ]; 57 - uvicorn = [ 58 - uvicorn 59 - ]; 60 - psutil = [ 61 - psutil 62 - ]; 63 - coloredlogs = [ 64 - coloredlogs 65 - ]; 66 - watchdog = [ 67 - watchdog 68 - ]; 38 + json = [ ujson ]; 39 + PIL = [ pillow ]; 40 + redis = [ redis ]; 41 + aioredis = [ aioredis ]; 42 + aiohttp = [ aiohttp ]; 43 + fastapi = [ fastapi ]; 44 + uvicorn = [ uvicorn ]; 45 + psutil = [ psutil ]; 46 + coloredlogs = [ coloredlogs ]; 47 + watchdog = [ watchdog ]; 69 48 }; 70 49 71 50 checkInputs = [ 72 51 pytestCheckHook 73 52 requests 74 - ] ++ passthru.optional-dependencies.watchdog 75 - ++ passthru.optional-dependencies.aiohttp; 53 + ] ++ passthru.optional-dependencies.watchdog ++ passthru.optional-dependencies.aiohttp; 76 54 77 - pythonImportsCheck = [ 78 - "telebot" 79 - ]; 55 + pythonImportsCheck = [ "telebot" ]; 80 56 81 57 meta = with lib; { 82 58 description = "Python implementation for the Telegram Bot API";