summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-telegram-bot
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-25 14:13:59 -0400
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-10-26 16:37:52 +0200
commit9406b36e9dd2dca86f87e4b0a386b865cc20317b (patch)
tree571bdd3125fbb6ed37764eba90e579ba2e96dbbc /pkgs/development/python-modules/python-telegram-bot
parent1fa6e372b27d97726040c31729150cb2c246d60d (diff)
downloadnixpkgs-9406b36e9dd2dca86f87e4b0a386b865cc20317b.tar
nixpkgs-9406b36e9dd2dca86f87e4b0a386b865cc20317b.tar.gz
nixpkgs-9406b36e9dd2dca86f87e4b0a386b865cc20317b.tar.bz2
nixpkgs-9406b36e9dd2dca86f87e4b0a386b865cc20317b.tar.lz
nixpkgs-9406b36e9dd2dca86f87e4b0a386b865cc20317b.tar.xz
nixpkgs-9406b36e9dd2dca86f87e4b0a386b865cc20317b.tar.zst
nixpkgs-9406b36e9dd2dca86f87e4b0a386b865cc20317b.zip
pythonPackages.python-telegram-bot: 10.1.0 -> 11.1.0
Diffstat (limited to 'pkgs/development/python-modules/python-telegram-bot')
-rw-r--r--pkgs/development/python-modules/python-telegram-bot/default.nix20
1 files changed, 16 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/python-telegram-bot/default.nix b/pkgs/development/python-modules/python-telegram-bot/default.nix
index 5bb20ae8e77..5af4383d44b 100644
--- a/pkgs/development/python-modules/python-telegram-bot/default.nix
+++ b/pkgs/development/python-modules/python-telegram-bot/default.nix
@@ -1,12 +1,20 @@
-{ stdenv, fetchPypi, buildPythonPackage, certifi, future, urllib3 }:
+{ stdenv
+, fetchPypi
+, buildPythonPackage
+, certifi
+, future
+, urllib3
+, tornado
+, pytest
+}:
 
 buildPythonPackage rec {
   pname = "python-telegram-bot";
-  version = "10.1.0";
+  version = "11.1.0";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "ca2f8a44ddef7271477e16f4986647fa90ef4df5b55a7953e53b9c9d2672f639";
+    sha256 = "cca4e32ebb8da7fdf35ab2fa2b3edd441211364819c5592fc253acdb7561ea5b";
   };
 
   prePatch = ''
@@ -16,10 +24,14 @@ buildPythonPackage rec {
       --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"
+
+    touch LICENSE.dual
   '';
 
-  propagatedBuildInputs = [ certifi future urllib3 ];
+  checkInputs = [ pytest ];
+  propagatedBuildInputs = [ certifi future urllib3 tornado ];
 
+  # tests not included with release
   doCheck = false;
 
   meta = with stdenv.lib; {