mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
Merge pull request #141402 from fabaff/fix-python-telegram-bot
This commit is contained in:
commit
1db17e3577
|
@ -36,13 +36,15 @@ buildPythonPackage rec {
|
|||
rm -r telegram/vendor
|
||||
|
||||
substituteInPlace requirements.txt \
|
||||
--replace 'APScheduler==3.6.3' 'APScheduler'
|
||||
--replace "APScheduler==3.6.3" "APScheduler" \
|
||||
--replace "cachetools==4.2.2" "cachetools"
|
||||
'';
|
||||
|
||||
setupPyGlobalFlags = "--with-upstream-urllib3";
|
||||
|
||||
# tests not included with release
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "telegram" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue