1 { lib, stdenv, fetchFromGitHub, cmake, gperf, openssl, zlib }:
4 pname = "telegram-bot-api";
7 src = fetchFromGitHub {
8 repo = "telegram-bot-api";
10 rev = "c57b04c4c8c4e8d8bb6fdd0bd3bfb5b93b9d8f05";
11 sha256 = "sha256-WetzX8GBdwQAnnZjek+W4v+QN1aUFdlvs+Jv6n1B+eY=";
12 fetchSubmodules = true;
15 nativeBuildInputs = [ cmake gperf ];
16 buildInputs = [ openssl zlib ];
19 description = "Telegram Bot API server";
20 homepage = "https://github.com/tdlib/telegram-bot-api";
21 license = licenses.boost;
22 maintainers = with maintainers; [ Anillc ];
23 platforms = platforms.all;
24 mainProgram = "telegram-bot-api";