zabbix-agent2-plugin-postgresql: format

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
Florian Brandes 2024-08-04 12:57:04 +02:00
parent 72cc239f96
commit 7c05cf6b0e
No known key found for this signature in database
GPG Key ID: 074048E893713170

View File

@ -1,4 +1,8 @@
{ lib, buildGoModule, fetchurl }:
{
lib,
buildGoModule,
fetchurl,
}:
buildGoModule rec {
pname = "zabbix-agent2-plugin-postgresql";
@ -15,7 +19,8 @@ buildGoModule rec {
description = "Required tool for Zabbix agent integrated PostgreSQL monitoring";
mainProgram = "postgresql";
homepage = "https://www.zabbix.com/integrations/postgresql";
license = if (lib.versions.major version >= "7") then lib.licenses.agpl3Only else lib.licenses.gpl2Plus;
license =
if (lib.versions.major version >= "7") then lib.licenses.agpl3Only else lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ gador ];
platforms = lib.platforms.linux;
};