telegram-bot-api: refactor meta, format using nixfmt-rfc-style
This commit is contained in:
parent
2e74199368
commit
bc50b93669
@ -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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user