python310Packages.python-telegram-bot: switch to pyproject build

For a reason that I don't know, it fixes the setuptools build creating
duplicate file entries in the wheel.

+8 -1
+8 -1
pkgs/development/python-modules/python-telegram-bot/default.nix
··· 14 14 , pytestCheckHook 15 15 , pythonOlder 16 16 , pytz 17 + , setuptools 18 + , wheel 17 19 , tornado 18 20 }: 19 21 20 22 buildPythonPackage rec { 21 23 pname = "python-telegram-bot"; 22 24 version = "20.4"; 23 - format = "setuptools"; 25 + format = "pyproject"; 24 26 25 27 disabled = pythonOlder "3.8"; 26 28 ··· 30 32 rev = "refs/tags/v${version}"; 31 33 hash = "sha256-owbJJZjBkMjsgfBLRl+rnePrIvQ0sUZs7rP9ie912pw="; 32 34 }; 35 + 36 + nativeBuildInputs = [ 37 + setuptools 38 + wheel 39 + ]; 33 40 34 41 propagatedBuildInputs = [ 35 42 aiolimiter