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

python312Packages.pytelegrambotapi: 4.16.0 -> 4.17.0
This commit is contained in:
Fabian Affolter 2024-04-09 22:43:46 +02:00 committed by GitHub
commit 2d4c071fbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,25 +1,26 @@
{ lib
, aiohttp
, aioredis
, buildPythonPackage
, coloredlogs
, fastapi
, fetchFromGitHub
, hatchling
, pillow
, psutil
, pytestCheckHook
, pythonOlder
, redis
, requests
, ujson
, uvicorn
, watchdog
{
lib,
aiohttp,
aioredis,
buildPythonPackage,
coloredlogs,
fastapi,
fetchFromGitHub,
hatchling,
pillow,
psutil,
pytestCheckHook,
pythonOlder,
redis,
requests,
ujson,
uvicorn,
watchdog,
}:
buildPythonPackage rec {
pname = "pytelegrambotapi";
version = "4.16.0";
version = "4.17.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -28,55 +29,30 @@ buildPythonPackage rec {
owner = "eternnoir";
repo = "pyTelegramBotAPI";
rev = "refs/tags/${version}";
hash = "sha256-w039aPK+PdOiiOj5ZZAUfyHQ6QDrKySVIijcOw+GIOk=";
hash = "sha256-Asw6wpZs0FgsUYLVQ4u4qQgIFdvShcsN3XvgHn48cbI=";
};
nativeBuildInputs = [
hatchling
];
build-system = [ hatchling ];
passthru.optional-dependencies = {
json = [
ujson
];
PIL = [
pillow
];
redis = [
redis
];
aioredis = [
aioredis
];
aiohttp = [
aiohttp
];
fastapi = [
fastapi
];
uvicorn = [
uvicorn
];
psutil = [
psutil
];
coloredlogs = [
coloredlogs
];
watchdog = [
watchdog
];
json = [ ujson ];
PIL = [ pillow ];
redis = [ redis ];
aioredis = [ aioredis ];
aiohttp = [ aiohttp ];
fastapi = [ fastapi ];
uvicorn = [ uvicorn ];
psutil = [ psutil ];
coloredlogs = [ coloredlogs ];
watchdog = [ watchdog ];
};
checkInputs = [
pytestCheckHook
requests
] ++ passthru.optional-dependencies.watchdog
++ passthru.optional-dependencies.aiohttp;
] ++ passthru.optional-dependencies.watchdog ++ passthru.optional-dependencies.aiohttp;
pythonImportsCheck = [
"telebot"
];
pythonImportsCheck = [ "telebot" ];
meta = with lib; {
description = "Python implementation for the Telegram Bot API";