29 buildPythonPackage rec {
34 disabled = pythonOlder "3.8";
36 src = fetchFromGitHub {
39 rev = "refs/tags/v${version}";
40 hash = "sha256-uTFh1ncIPF9SmAEVGeBnXEKrYzgifZan1sxk5UiG92U=";
43 build-system = [ hatchling ];
53 optional-dependencies = {
63 proxy = [ aiohttp-socks ];
75 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
79 "ignore::pluggy.PluggyTeardownRaisedWarning"
81 "ignore::pytest.PytestDeprecationWarning"
83 "ignore::DeprecationWarning"
86 pythonImportsCheck = [ "aiogram" ];
88 passthru.updateScript = gitUpdater { rev-prefix = "v"; };
90 __darwinAllowLocalNetworking = true;
93 description = "Modern and fully asynchronous framework for Telegram Bot API";
94 homepage = "https://github.com/aiogram/aiogram";
95 changelog = "https://github.com/aiogram/aiogram/releases/tag/v${version}";
96 license = licenses.mit;
97 maintainers = with maintainers; [ sikmir ];