Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.8 kB · 98 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899{ lib, aiodns, aiofiles, aiohttp-socks, aiohttp, aresponses, babel, buildPythonPackage, certifi, cryptography, fetchFromGitHub, gitUpdater, hatchling, magic-filter, motor, pycryptodomex, pydantic, pymongo, pytest-aiohttp, pytest-asyncio, pytest-lazy-fixture, pytestCheckHook, pythonOlder, pytz, redis, uvloop,}:
buildPythonPackage rec { pname = "aiogram"; version = "3.22.0"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "aiogram"; repo = "aiogram"; tag = "v${version}"; hash = "sha256-4LZ4+bt9n0q8WMaMEaAAIFnEuDUSd+Aq+YW49Xbcp5c="; };
build-system = [ hatchling ];
pythonRelaxDeps = [ "aiohttp" ];
dependencies = [ aiofiles aiohttp certifi magic-filter pydantic ];
optional-dependencies = { fast = [ aiodns uvloop ]; mongo = [ motor pymongo ]; redis = [ redis ]; proxy = [ aiohttp-socks ]; i18n = [ babel ]; signature = [ cryptography ]; };
nativeCheckInputs = [ aresponses pycryptodomex pytest-aiohttp pytest-asyncio pytest-lazy-fixture pytestCheckHook pytz ] ++ lib.flatten (builtins.attrValues optional-dependencies);
pythonImportsCheck = [ "aiogram" ];
passthru.updateScript = gitUpdater { rev-prefix = "v"; ignoredVersions = "4.1"; };
__darwinAllowLocalNetworking = true;
meta = { description = "Modern and fully asynchronous framework for Telegram Bot API"; homepage = "https://github.com/aiogram/aiogram"; changelog = "https://github.com/aiogram/aiogram/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sikmir ]; };}