diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-11 16:02:21 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-11 16:02:21 +0200 |
commit | d83386c85ff41f3bccfcd2ceeb01b3d064561cf3 (patch) | |
tree | 6c1e77ad1a0eb681aeb4a73312c421eed6748402 /pkgs | |
parent | 089908b9db074b5103cda022f25b6689c84ec0dd (diff) | |
download | nixpkgs-d83386c85ff41f3bccfcd2ceeb01b3d064561cf3.tar nixpkgs-d83386c85ff41f3bccfcd2ceeb01b3d064561cf3.tar.gz nixpkgs-d83386c85ff41f3bccfcd2ceeb01b3d064561cf3.tar.bz2 nixpkgs-d83386c85ff41f3bccfcd2ceeb01b3d064561cf3.tar.lz nixpkgs-d83386c85ff41f3bccfcd2ceeb01b3d064561cf3.tar.xz nixpkgs-d83386c85ff41f3bccfcd2ceeb01b3d064561cf3.tar.zst nixpkgs-d83386c85ff41f3bccfcd2ceeb01b3d064561cf3.zip |
python3Packages.python-telegram-bot: 13.3 -> 13.4.1
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/python-telegram-bot/default.nix | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/python-telegram-bot/default.nix b/pkgs/development/python-modules/python-telegram-bot/default.nix index 27276e0619c..b5155fd4bb6 100644 --- a/pkgs/development/python-modules/python-telegram-bot/default.nix +++ b/pkgs/development/python-modules/python-telegram-bot/default.nix @@ -1,28 +1,33 @@ { lib -, fetchPypi +, APScheduler , buildPythonPackage , certifi , decorator +, fetchPypi , future -, urllib3 -, tornado -, pytest -, APScheduler , isPy3k +, tornado +, urllib3 }: buildPythonPackage rec { pname = "python-telegram-bot"; - version = "13.3"; + version = "13.4.1"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - hash = "sha256-dw1sGfdeUw3n9qh4TsBpRdqEvNI0SnKTK4wqBaeM1CE="; + sha256 = "141w3701jjl460702xddqvi3hswp24jnkl6cakvz2aqrmcyxq7sc"; }; - checkInputs = [ pytest ]; - propagatedBuildInputs = [ certifi future urllib3 tornado decorator APScheduler ]; + propagatedBuildInputs = [ + APScheduler + certifi + decorator + future + tornado + urllib3 + ]; # --with-upstream-urllib3 is not working properly postPatch = '' @@ -31,6 +36,7 @@ buildPythonPackage rec { substituteInPlace requirements.txt \ --replace 'APScheduler==3.6.3' 'APScheduler' ''; + setupPyGlobalFlags = "--with-upstream-urllib3"; # tests not included with release @@ -38,7 +44,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "telegram" ]; meta = with lib; { - description = "This library provides a pure Python interface for the Telegram Bot API."; + description = "Python library to interface with the Telegram Bot API"; homepage = "https://python-telegram-bot.org"; license = licenses.lgpl3Only; maintainers = with maintainers; [ veprbl pingiun ]; |