2022-04-11 17:33:31 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, gperf, openssl, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "telegram-bot-api";
|
2024-05-17 05:40:27 +02:00
|
|
|
version = "7.3";
|
2022-04-11 17:33:31 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "telegram-bot-api";
|
|
|
|
owner = "tdlib";
|
2024-05-17 05:40:27 +02:00
|
|
|
rev = "5951bfbab8b1274437c613c1c48d91be2a050371";
|
|
|
|
hash = "sha256-5aNZqP4K+zP7q1+yllr6fysEcewhh/V9Vl6GXQolanI=";
|
2022-04-11 17:33:31 +02: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 05:40:27 +02:00
|
|
|
maintainers = with maintainers; [ Anillc Forden ];
|
2022-04-11 17:33:31 +02:00
|
|
|
platforms = platforms.all;
|
2023-11-23 22:09:35 +01:00
|
|
|
mainProgram = "telegram-bot-api";
|
2022-04-11 17:33:31 +02:00
|
|
|
};
|
|
|
|
}
|