From 3f416dd60d69e1c90f16b850195563a70fdd7b63 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 2 Sep 2024 08:17:17 +0200 Subject: [PATCH] python312Packages.python-telegram-bot: 21.4 -> 21.5 Diff: https://github.com/python-telegram-bot/python-telegram-bot/compare/refs/tags/v21.4...v21.5 Changelog: https://github.com/python-telegram-bot/python-telegram-bot/blob/v21.5/CHANGES.rst --- .../python-telegram-bot/default.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/python-telegram-bot/default.nix b/pkgs/development/python-modules/python-telegram-bot/default.nix index 354c97ffc4e4..5494169e3b12 100644 --- a/pkgs/development/python-modules/python-telegram-bot/default.nix +++ b/pkgs/development/python-modules/python-telegram-bot/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { pname = "python-telegram-bot"; - version = "21.4"; + version = "21.5"; pyproject = true; disabled = pythonOlder "3.8"; @@ -33,21 +33,25 @@ buildPythonPackage rec { owner = "python-telegram-bot"; repo = "python-telegram-bot"; rev = "refs/tags/v${version}"; - hash = "sha256-5raEejd8WH9JrFvMIy2AuMGK9O/FJ2rq9PeVqK+IMOU="; + hash = "sha256-i1YEcN615xeI4HcygXV9kzuXpT2yDSnlNU6bZqu1dPM="; }; - build-system = [ setuptools hatchling ]; - - dependencies = [ - httpx + build-system = [ + setuptools + hatchling ]; + dependencies = [ httpx ]; + optional-dependencies = rec { all = ext ++ http2 ++ passport ++ socks; callback-data = [ cachetools ]; ext = callback-data ++ job-queue ++ rate-limiter ++ webhooks; http2 = httpx.optional-dependencies.http2; - job-queue = [ apscheduler pytz ]; + job-queue = [ + apscheduler + pytz + ]; passport = [ cryptography ] ++ lib.optionals (pythonAtLeast "3.13") [ cffi ]; rate-limiter = [ aiolimiter ]; socks = httpx.optional-dependencies.socks;