Commit 6387603e authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.aiogram: format with nixfmt

parent b2559571
Loading
Loading
Loading
Loading
+33 −37
Original line number Diff line number Diff line
{ 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";