telegram-bot-api: 8.0 -> 8.2 (#371904)

This commit is contained in:
Arne Keller 2025-01-15 18:57:58 +01:00 committed by GitHub
commit 1f56e5bd01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,17 +6,18 @@
gperf, gperf,
openssl, openssl,
zlib, zlib,
versionCheckHook,
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "telegram-bot-api"; pname = "telegram-bot-api";
version = "8.0"; version = "8.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tdlib"; owner = "tdlib";
repo = "telegram-bot-api"; repo = "telegram-bot-api";
rev = "53e15345b04fcea73b415897f10d7543005044ce"; rev = "fa6706fc8f6e22b3c25b512ede6474613f32b32b";
hash = "sha256-OnYoJM2f9+/W4m1Ew9nDQQ/Mk0NnGr1dL5jCvLAXc1c="; hash = "sha256-0ra1sL121ksUIhpV738tL3y1gu1csMf0rK95G8ElMuo=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -24,11 +25,17 @@ stdenv.mkDerivation {
cmake cmake
gperf gperf
]; ];
buildInputs = [ buildInputs = [
openssl openssl
zlib zlib
]; ];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
meta = { meta = {
description = "Telegram Bot API server"; description = "Telegram Bot API server";
homepage = "https://github.com/tdlib/telegram-bot-api"; homepage = "https://github.com/tdlib/telegram-bot-api";