2022-04-11 15:33:31 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, gperf, openssl, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "telegram-bot-api";
|
2024-05-17 03:40:27 +00:00
|
|
|
version = "7.3";
|
2022-04-11 15:33:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "telegram-bot-api";
|
|
|
|
owner = "tdlib";
|
2024-05-17 03:40:27 +00:00
|
|
|
rev = "5951bfbab8b1274437c613c1c48d91be2a050371";
|
|
|
|
hash = "sha256-5aNZqP4K+zP7q1+yllr6fysEcewhh/V9Vl6GXQolanI=";
|
2022-04-11 15:33:31 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake gperf ];
|
|
|
|
buildInputs = [ openssl zlib ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Telegram Bot API server";
|
|
|
|
homepage = "https://github.com/tdlib/telegram-bot-api";
|
|
|
|
license = licenses.boost;
|
2024-05-17 03:40:27 +00:00
|
|
|
maintainers = with maintainers; [ Anillc Forden ];
|
2022-04-11 15:33:31 +00:00
|
|
|
platforms = platforms.all;
|
2023-11-23 21:09:35 +00:00
|
|
|
mainProgram = "telegram-bot-api";
|
2022-04-11 15:33:31 +00:00
|
|
|
};
|
|
|
|
}
|