Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 89 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990{ lib, aiofiles, aiohttp, aiohttp-socks, aresponses, babel, buildPythonPackage, certifi, fetchFromGitHub, gitUpdater, hatchling, magic-filter, motor, pycryptodomex, pydantic, pymongo, pytest-aiohttp, pytest-asyncio, pytest-lazy-fixture, pytestCheckHook, pythonOlder, pytz, redis,}:
buildPythonPackage rec { pname = "aiogram"; version = "3.10.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "aiogram"; repo = "aiogram"; rev = "refs/tags/v${version}"; hash = "sha256-7GTZvYyD6ypaH6PuOoh6TVboyS6nf8BFGgKvD59K6gc="; };
build-system = [ hatchling ];
pythonRelaxDeps = [ "pydantic" ];
dependencies = [ aiofiles aiohttp babel certifi magic-filter pydantic ];
nativeCheckInputs = [ aiohttp-socks aresponses motor pycryptodomex pymongo pytest-aiohttp pytest-asyncio pytest-lazy-fixture pytestCheckHook pytz redis ];
pytestFlagsArray = [ "-W" "ignore::pluggy.PluggyTeardownRaisedWarning" "-W" "ignore::pytest.PytestDeprecationWarning" "-W" "ignore::DeprecationWarning" ];
pythonImportsCheck = [ "aiogram" ];
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = with lib; { description = "Modern and fully asynchronous framework for Telegram Bot API"; homepage = "https://github.com/aiogram/aiogram"; changelog = "https://github.com/aiogram/aiogram/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ sikmir ]; };}