aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-telegram-bot
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2018-01-18 11:22:53 -0500
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2018-01-19 13:41:19 -0500
commit5738da94f4b6b2ebcfd464a7634f2a89fac377e7 (patch)
tree9b832efe4624c87a62e496d5550018ad7e67ff42 /pkgs/development/python-modules/python-telegram-bot
parent4dff3ee959035fadc77b0c2ac949a006b4249b20 (diff)
python-telegram-bot: init at 9.0.0
Diffstat (limited to 'pkgs/development/python-modules/python-telegram-bot')
-rw-r--r--pkgs/development/python-modules/python-telegram-bot/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-telegram-bot/default.nix b/pkgs/development/python-modules/python-telegram-bot/default.nix
new file mode 100644
index 000000000000..b9e5f2985e94
--- /dev/null
+++ b/pkgs/development/python-modules/python-telegram-bot/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchPypi, buildPythonPackage, isPy3k, certifi, future }:
+
+buildPythonPackage rec {
+ pname = "python-telegram-bot";
+ version = "9.0.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0a5b4wfc6ms7kblynw2h3ygpww98kyz5n8iibqbdyykwx8xj7hzm";
+ };
+
+ propagatedBuildInputs = [ certifi future ];
+ doCheck = !isPy3k;
+
+ meta = with stdenv.lib; {
+ description = "This library provides a pure Python interface for the Telegram Bot API.";
+ homepage = https://python-telegram-bot.org;
+ license = licenses.lgpl3;
+ maintainers = with maintainers; [ veprbl ];
+ };
+}