summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorJelle Besseling <jelle@pingiun.com>2020-01-24 20:37:46 +0100
committerJon <jonringer@users.noreply.github.com>2020-01-24 14:23:25 -0800
commit7680df12c53e715ef767d42df7dcd1c947534683 (patch)
tree7f7036d76b512b2be17ca9b5f128438ca6b12769 /pkgs/development
parent4acf0beba1b7ab811052241d3375e74756b61bdf (diff)
downloadnixpkgs-7680df12c53e715ef767d42df7dcd1c947534683.tar
nixpkgs-7680df12c53e715ef767d42df7dcd1c947534683.tar.gz
nixpkgs-7680df12c53e715ef767d42df7dcd1c947534683.tar.bz2
nixpkgs-7680df12c53e715ef767d42df7dcd1c947534683.tar.lz
nixpkgs-7680df12c53e715ef767d42df7dcd1c947534683.tar.xz
nixpkgs-7680df12c53e715ef767d42df7dcd1c947534683.tar.zst
nixpkgs-7680df12c53e715ef767d42df7dcd1c947534683.zip
python-telegram-bot: fix vendored urllib patches
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/python-telegram-bot/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/python-telegram-bot/default.nix b/pkgs/development/python-modules/python-telegram-bot/default.nix
index 11342237479..86a8cd71f5b 100644
--- a/pkgs/development/python-modules/python-telegram-bot/default.nix
+++ b/pkgs/development/python-modules/python-telegram-bot/default.nix
@@ -23,7 +23,8 @@ buildPythonPackage rec {
       --replace "import telegram.vendor.ptb_urllib3.urllib3 as urllib3" "import urllib3 as urllib3" \
       --replace "import telegram.vendor.ptb_urllib3.urllib3.contrib.appengine as appengine" "import urllib3.contrib.appengine as appengine" \
       --replace "from telegram.vendor.ptb_urllib3.urllib3.connection import HTTPConnection" "from urllib3.connection import HTTPConnection" \
-      --replace "from telegram.vendor.ptb_urllib3.urllib3.util.timeout import Timeout" "from urllib3.util.timeout import Timeout"
+      --replace "from telegram.vendor.ptb_urllib3.urllib3.util.timeout import Timeout" "from urllib3.util.timeout import Timeout" \
+      --replace "from telegram.vendor.ptb_urllib3.urllib3.fields import RequestField" "from urllib3.fields import RequestField"
 
     touch LICENSE.dual
   '';