telegram-bot-api: 7.3 -> 7.10 (#352099)
This commit is contained in:
commit
44fe5978f7
43
pkgs/by-name/te/telegram-bot-api/package.nix
Normal file
43
pkgs/by-name/te/telegram-bot-api/package.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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";
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user