diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-04-28 20:02:04 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-04-28 20:02:04 +0200 |
commit | 6387603e093b9ce19c56ab2f0e276faea5f9627b (patch) | |
tree | 069cc3eb671f0cdad798bc9e5c36f4cffd23a642 /pkgs/development | |
parent | b2559571414a7c41f883ba0316520950005e47cd (diff) |
python312Packages.aiogram: format with nixfmt
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/aiogram/default.nix | 70 |
1 files changed, 33 insertions, 37 deletions
diff --git a/pkgs/development/python-modules/aiogram/default.nix b/pkgs/development/python-modules/aiogram/default.nix index 04d415ca3d76d..74d9f070a7219 100644 --- a/pkgs/development/python-modules/aiogram/default.nix +++ b/pkgs/development/python-modules/aiogram/default.nix @@ -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"; |