telegram-bot-api: refactor meta, format using nixfmt-rfc-style

This commit is contained in:
nartsisss 2024-10-29 15:35:57 +03:00
parent 2e74199368
commit bc50b93669
No known key found for this signature in database

View File

@ -1,4 +1,12 @@
{ lib, stdenv, fetchFromGitHub, cmake, gperf, openssl, zlib }:
{
lib,
stdenv,
fetchFromGitHub,
cmake,
gperf,
openssl,
zlib,
}:
stdenv.mkDerivation {
pname = "telegram-bot-api";
@ -12,15 +20,24 @@ stdenv.mkDerivation {
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake gperf ];
buildInputs = [ openssl zlib ];
nativeBuildInputs = [
cmake
gperf
];
buildInputs = [
openssl
zlib
];
meta = with lib; {
meta = {
description = "Telegram Bot API server";
homepage = "https://github.com/tdlib/telegram-bot-api";
license = licenses.boost;
maintainers = with maintainers; [ Anillc Forden ];
platforms = platforms.all;
license = lib.licenses.boost;
maintainers = with lib.maintainers; [
Anillc
Forden
];
platforms = lib.platforms.all;
mainProgram = "telegram-bot-api";
};
}