git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.python-telegram-bot: 13.0 -> 13.3 (#115287)

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

commit1875033648417e12be76c4bf9b036294500a2c6c authorJelle Besseling <jelle@pingiun.com> dateSun 7 Mar 2021, 15:56 (6 years ago) parent0003876
1 file changed+9−5
pkgs/development/python-modules/python-telegram-bot/default.nix+9−5
pkgs/development/python-modules/python-telegram-bot/default.nix+9−5
@@ -7,25 +7,29 @@
77, urllib3
88, tornado
99, pytest
10+, APScheduler
1011, isPy3k
1112}:
1213
1314buildPythonPackage rec {
1415 pname = "python-telegram-bot";
15− version = "13.0";
16+ version = "13.3";
1617 disabled = !isPy3k;
1718
1819 src = fetchPypi {
1920 inherit pname version;
20− sha256 = "ca78a41626d728a8f51affa792270e210fa503ed298d395bed2bd1281842dca3";
21+ hash = "sha256-dw1sGfdeUw3n9qh4TsBpRdqEvNI0SnKTK4wqBaeM1CE=";
2122 };
2223
2324 checkInputs = [ pytest ];
24− propagatedBuildInputs = [ certifi future urllib3 tornado decorator ];
25+ propagatedBuildInputs = [ certifi future urllib3 tornado decorator APScheduler ];
2526
2627 # --with-upstream-urllib3 is not working properly
2728 postPatch = ''
28− rm -rf telegram/vendor
29+ rm -r telegram/vendor
30+
31+ substituteInPlace requirements.txt \
32+ --replace 'APScheduler==3.6.3' 'APScheduler'
2933 '';
3034 setupPyGlobalFlags = "--with-upstream-urllib3";
3135
@@ -36,7 +40,7 @@ buildPythonPackage rec {
3640 meta = with lib; {
3741 description = "This library provides a pure Python interface for the Telegram Bot API.";
3842 homepage = "https://python-telegram-bot.org";
39− license = licenses.lgpl3;
43+ license = licenses.lgpl3Only;
4044 maintainers = with maintainers; [ veprbl pingiun ];
4145 };
4246}