Merge pull request #168273 from Anillc/telegram-bot-api
telegram-bot-api: init at 5.7
This commit is contained in:
commit
100de69378
3 changed files with 37 additions and 0 deletions
|
@ -822,6 +822,16 @@
|
|||
githubId = 1771266;
|
||||
name = "Vo Anh Duy";
|
||||
};
|
||||
Anillc = {
|
||||
name = "Anillc";
|
||||
email = "i@anillc.cn";
|
||||
github = "Anillc";
|
||||
githubId = 23411248;
|
||||
keys = [{
|
||||
longkeyid = "ed25519/0x0BE8A88F47B2145C";
|
||||
fingerprint = "6141 1E4F FE10 CE7B 2E14 CD76 0BE8 A88F 47B2 145C";
|
||||
}];
|
||||
};
|
||||
anirrudh = {
|
||||
email = "anik597@gmail.com";
|
||||
github = "anirrudh";
|
||||
|
|
25
pkgs/servers/telegram-bot-api/default.nix
Normal file
25
pkgs/servers/telegram-bot-api/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, gperf, openssl, zlib }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "telegram-bot-api";
|
||||
version = "5.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "telegram-bot-api";
|
||||
owner = "tdlib";
|
||||
rev = "c57b04c4c8c4e8d8bb6fdd0bd3bfb5b93b9d8f05";
|
||||
sha256 = "sha256-WetzX8GBdwQAnnZjek+W4v+QN1aUFdlvs+Jv6n1B+eY=";
|
||||
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 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -29864,6 +29864,8 @@ with pkgs;
|
|||
abseil-cpp = abseil-cpp_202111;
|
||||
};
|
||||
|
||||
telegram-bot-api = callPackage ../servers/telegram-bot-api { };
|
||||
|
||||
tektoncd-cli = callPackage ../applications/networking/cluster/tektoncd-cli { };
|
||||
|
||||
telegram-cli = callPackage ../applications/networking/instant-messengers/telegram/telegram-cli { };
|
||||
|
|
Loading…
Reference in a new issue