1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-30 13:05:15 +03:00
nixpkgs/pkgs/development/python-modules/pyTelegramBotAPI/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
723 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, requests
2022-11-27 19:46:53 +04:00
, fastapi
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyTelegramBotAPI";
version = "4.8.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-6nfpXzq2yCVDK8pAuWzAVzr0pKn5VHqb3UH9VXhSHJ0=";
};
propagatedBuildInputs = [
aiohttp
requests
2022-11-27 19:46:53 +04:00
fastapi
];
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 ];
};
}