python312Packages.pytelegrambotapi: format with nixfmt
This commit is contained in:
parent
b87dadf030
commit
919cbfa5dc
|
@ -1,20 +1,21 @@
|
||||||
{ lib
|
{
|
||||||
, aiohttp
|
lib,
|
||||||
, aioredis
|
aiohttp,
|
||||||
, buildPythonPackage
|
aioredis,
|
||||||
, coloredlogs
|
buildPythonPackage,
|
||||||
, fastapi
|
coloredlogs,
|
||||||
, fetchFromGitHub
|
fastapi,
|
||||||
, hatchling
|
fetchFromGitHub,
|
||||||
, pillow
|
hatchling,
|
||||||
, psutil
|
pillow,
|
||||||
, pytestCheckHook
|
psutil,
|
||||||
, pythonOlder
|
pytestCheckHook,
|
||||||
, redis
|
pythonOlder,
|
||||||
, requests
|
redis,
|
||||||
, ujson
|
requests,
|
||||||
, uvicorn
|
ujson,
|
||||||
, watchdog
|
uvicorn,
|
||||||
|
watchdog,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -31,52 +32,27 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-Asw6wpZs0FgsUYLVQ4u4qQgIFdvShcsN3XvgHn48cbI=";
|
hash = "sha256-Asw6wpZs0FgsUYLVQ4u4qQgIFdvShcsN3XvgHn48cbI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [
|
build-system = [ hatchling ];
|
||||||
hatchling
|
|
||||||
];
|
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
passthru.optional-dependencies = {
|
||||||
json = [
|
json = [ ujson ];
|
||||||
ujson
|
PIL = [ pillow ];
|
||||||
];
|
redis = [ redis ];
|
||||||
PIL = [
|
aioredis = [ aioredis ];
|
||||||
pillow
|
aiohttp = [ aiohttp ];
|
||||||
];
|
fastapi = [ fastapi ];
|
||||||
redis = [
|
uvicorn = [ uvicorn ];
|
||||||
redis
|
psutil = [ psutil ];
|
||||||
];
|
coloredlogs = [ coloredlogs ];
|
||||||
aioredis = [
|
watchdog = [ watchdog ];
|
||||||
aioredis
|
|
||||||
];
|
|
||||||
aiohttp = [
|
|
||||||
aiohttp
|
|
||||||
];
|
|
||||||
fastapi = [
|
|
||||||
fastapi
|
|
||||||
];
|
|
||||||
uvicorn = [
|
|
||||||
uvicorn
|
|
||||||
];
|
|
||||||
psutil = [
|
|
||||||
psutil
|
|
||||||
];
|
|
||||||
coloredlogs = [
|
|
||||||
coloredlogs
|
|
||||||
];
|
|
||||||
watchdog = [
|
|
||||||
watchdog
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
requests
|
requests
|
||||||
] ++ passthru.optional-dependencies.watchdog
|
] ++ passthru.optional-dependencies.watchdog ++ passthru.optional-dependencies.aiohttp;
|
||||||
++ passthru.optional-dependencies.aiohttp;
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "telebot" ];
|
||||||
"telebot"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python implementation for the Telegram Bot API";
|
description = "Python implementation for the Telegram Bot API";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user