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