Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

52 lines
936 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
gperf,
openssl,
zlib,
versionCheckHook,
}:
stdenv.mkDerivation {
pname = "telegram-bot-api";
version = "8.2";
src = fetchFromGitHub {
owner = "tdlib";
repo = "telegram-bot-api";
rev = "fa6706fc8f6e22b3c25b512ede6474613f32b32b";
hash = "sha256-0ra1sL121ksUIhpV738tL3y1gu1csMf0rK95G8ElMuo=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
gperf
];
buildInputs = [
openssl
zlib
];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = "--version";
meta = {
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;
mainProgram = "telegram-bot-api";
};
}