python3Packages.python-telegram-bot: 13.3 -> 13.4.1

This commit is contained in:
Fabian Affolter 2021-04-11 16:02:21 +02:00
parent 089908b9db
commit d83386c85f

View File

@ -1,28 +1,33 @@
{ lib { lib
, fetchPypi , APScheduler
, buildPythonPackage , buildPythonPackage
, certifi , certifi
, decorator , decorator
, fetchPypi
, future , future
, urllib3
, tornado
, pytest
, APScheduler
, isPy3k , isPy3k
, tornado
, urllib3
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-telegram-bot"; pname = "python-telegram-bot";
version = "13.3"; version = "13.4.1";
disabled = !isPy3k; disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-dw1sGfdeUw3n9qh4TsBpRdqEvNI0SnKTK4wqBaeM1CE="; sha256 = "141w3701jjl460702xddqvi3hswp24jnkl6cakvz2aqrmcyxq7sc";
}; };
checkInputs = [ pytest ]; propagatedBuildInputs = [
propagatedBuildInputs = [ certifi future urllib3 tornado decorator APScheduler ]; APScheduler
certifi
decorator
future
tornado
urllib3
];
# --with-upstream-urllib3 is not working properly # --with-upstream-urllib3 is not working properly
postPatch = '' postPatch = ''
@ -31,6 +36,7 @@ buildPythonPackage rec {
substituteInPlace requirements.txt \ substituteInPlace requirements.txt \
--replace 'APScheduler==3.6.3' 'APScheduler' --replace 'APScheduler==3.6.3' 'APScheduler'
''; '';
setupPyGlobalFlags = "--with-upstream-urllib3"; setupPyGlobalFlags = "--with-upstream-urllib3";
# tests not included with release # tests not included with release
@ -38,7 +44,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "telegram" ]; pythonImportsCheck = [ "telegram" ];
meta = with lib; { 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"; homepage = "https://python-telegram-bot.org";
license = licenses.lgpl3Only; license = licenses.lgpl3Only;
maintainers = with maintainers; [ veprbl pingiun ]; maintainers = with maintainers; [ veprbl pingiun ];