telegram-bot-api: 7.3 -> 7.10 (#352099)

This commit is contained in:
Aleksana 2024-10-30 17:30:54 +08:00 committed by GitHub
commit 44fe5978f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 43 additions and 28 deletions

View File

@ -0,0 +1,43 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
gperf,
openssl,
zlib,
}:
stdenv.mkDerivation {
pname = "telegram-bot-api";
version = "7.10";
src = fetchFromGitHub {
repo = "telegram-bot-api";
owner = "tdlib";
rev = "a186a9ae823d91678ace87ef5b920688c555f5b5";
hash = "sha256-1oGDR9WLWC/0QyAmTkMWkbkD+49/gU/nWBZq0mMOl8g=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
gperf
];
buildInputs = [
openssl
zlib
];
meta = {
description = "Telegram Bot API server";
homepage = "https://github.com/tdlib/telegram-bot-api";
license = lib.licenses.boost;
maintainers = with lib.maintainers; [
Anillc
Forden
];
platforms = lib.platforms.all;
mainProgram = "telegram-bot-api";
};
}

View File

@ -1,26 +0,0 @@
{ lib, stdenv, fetchFromGitHub, cmake, gperf, openssl, zlib }:
stdenv.mkDerivation {
pname = "telegram-bot-api";
version = "7.3";
src = fetchFromGitHub {
repo = "telegram-bot-api";
owner = "tdlib";
rev = "5951bfbab8b1274437c613c1c48d91be2a050371";
hash = "sha256-5aNZqP4K+zP7q1+yllr6fysEcewhh/V9Vl6GXQolanI=";
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;
maintainers = with maintainers; [ Anillc Forden ];
platforms = platforms.all;
mainProgram = "telegram-bot-api";
};
}

View File

@ -32588,8 +32588,6 @@ with pkgs;
else stdenv;
};
telegram-bot-api = callPackage ../servers/telegram-bot-api { };
tektoncd-cli = callPackage ../applications/networking/cluster/tektoncd-cli { };
tg = python3Packages.callPackage ../applications/networking/instant-messengers/telegram/tg { };