depot/third_party/nixpkgs/pkgs/servers/telegram-bot-api/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

26 lines
729 B
Nix

{ 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";
};
}