aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-telegram-bot/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-telegram-bot/default.nix')
-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 ];
+ };
+}