depot/third_party/nixpkgs/pkgs/development/python-modules/pyTelegramBotAPI/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

36 lines
701 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, requests
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyTelegramBotAPI";
version = "4.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-sa6kw8hnWGt++qgNVNs7cQ9LJK64CVv871aP8n08pRA=";
};
propagatedBuildInputs = [
aiohttp
requests
];
pythonImportsCheck = [
"telebot"
];
meta = with lib; {
homepage = "https://github.com/eternnoir/pyTelegramBotAPI";
description = "A simple, but extensible Python implementation for the Telegram Bot API";
license = licenses.gpl2Only;
maintainers = with maintainers; [ das_j ];
};
}