python312Packages.pytelegrambotapi: format with nixfmt
This commit is contained in:
parent
b87dadf030
commit
919cbfa5dc
|
@ -1,20 +1,21 @@
|
|||
{ 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 {
|
||||
|
@ -31,52 +32,27 @@ buildPythonPackage rec {
|
|||
hash = "sha256-Asw6wpZs0FgsUYLVQ4u4qQgIFdvShcsN3XvgHn48cbI=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
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";
|
||||
|
|
Loading…
Reference in New Issue