Unverified Commit bc50b936 authored by nartsisss's avatar nartsisss
Browse files

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

parent 2e741993
Loading
Loading
Loading
Loading
+24 −7
Original line number Diff line number Diff line
{ 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";
  };
}