python312Packages.aiogram: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-28 20:02:04 +02:00
parent b255957141
commit 6387603e09

View File

@ -1,25 +1,26 @@
{ lib
, aiofiles
, aiohttp
, aiohttp-socks
, aresponses
, babel
, buildPythonPackage
, certifi
, fetchFromGitHub
, gitUpdater
, hatchling
, magic-filter
, pycryptodomex
, pydantic
, pytest-aiohttp
, pytest-asyncio
, pytest-lazy-fixture
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, pytz
, redis
{
lib,
aiofiles,
aiohttp,
aiohttp-socks,
aresponses,
babel,
buildPythonPackage,
certifi,
fetchFromGitHub,
gitUpdater,
hatchling,
magic-filter,
pycryptodomex,
pydantic,
pytest-aiohttp,
pytest-asyncio,
pytest-lazy-fixture,
pytestCheckHook,
pythonOlder,
pythonRelaxDepsHook,
pytz,
redis,
}:
buildPythonPackage rec {
@ -36,17 +37,11 @@ buildPythonPackage rec {
hash = "sha256-NOaI01Lb969Lp/v38u2UipN9UbOQNJQEbN2JS3lmFno=";
};
build-system = [
hatchling
];
build-system = [ hatchling ];
nativeBuildInputs = [
pythonRelaxDepsHook
];
nativeBuildInputs = [ pythonRelaxDepsHook ];
pythonRelaxDeps = [
"pydantic"
];
pythonRelaxDeps = [ "pydantic" ];
dependencies = [
aiofiles
@ -70,16 +65,17 @@ buildPythonPackage rec {
];
pytestFlagsArray = [
"-W" "ignore::pluggy.PluggyTeardownRaisedWarning"
"-W" "ignore::pytest.PytestDeprecationWarning"
"-W" "ignore::DeprecationWarning"
"-W"
"ignore::pluggy.PluggyTeardownRaisedWarning"
"-W"
"ignore::pytest.PytestDeprecationWarning"
"-W"
"ignore::DeprecationWarning"
];
pythonImportsCheck = [ "aiogram" ];
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = with lib; {
description = "Modern and fully asynchronous framework for Telegram Bot API";