1
0
Fork 1
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:
Sandro 2021-10-12 22:54:23 +02:00 committed by GitHub
commit 1db17e3577
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; {