depot/third_party/nixpkgs/pkgs/servers/telegram-bot-api/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

26 lines
724 B
Nix

{ 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;
mainProgram = "telegram-bot-api";
};
}