nixpkgs/pkgs/by-name/te/telegram-bot-api/package.nix

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

45 lines
797 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
cmake,
gperf,
openssl,
zlib,
}:
2022-04-11 15:33:31 +00:00
stdenv.mkDerivation {
pname = "telegram-bot-api";
2024-11-21 23:16:51 +00:00
version = "8.0";
2022-04-11 15:33:31 +00:00
src = fetchFromGitHub {
owner = "tdlib";
2024-11-21 23:16:51 +00:00
repo = "telegram-bot-api";
rev = "53e15345b04fcea73b415897f10d7543005044ce";
hash = "sha256-OnYoJM2f9+/W4m1Ew9nDQQ/Mk0NnGr1dL5jCvLAXc1c=";
2022-04-11 15:33:31 +00:00
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
gperf
];
buildInputs = [
openssl
zlib
];
2022-04-11 15:33:31 +00:00
meta = {
2022-04-11 15:33:31 +00:00
description = "Telegram Bot API server";
homepage = "https://github.com/tdlib/telegram-bot-api";
license = lib.licenses.boost;
maintainers = with lib.maintainers; [
Anillc
Forden
nartsiss
];
platforms = lib.platforms.all;
2023-11-23 21:09:35 +00:00
mainProgram = "telegram-bot-api";
2022-04-11 15:33:31 +00:00
};
}