2022-04-11 15:33:31 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, gperf, openssl, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "telegram-bot-api";
|
2024-10-29 12:29:57 +00:00
|
|
|
version = "7.10";
|
2022-04-11 15:33:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "telegram-bot-api";
|
|
|
|
owner = "tdlib";
|
2024-10-29 12:29:57 +00:00
|
|
|
rev = "a186a9ae823d91678ace87ef5b920688c555f5b5";
|
|
|
|
hash = "sha256-1oGDR9WLWC/0QyAmTkMWkbkD+49/gU/nWBZq0mMOl8g=";
|
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
|
|
|
};
|
|
|
|
}
|