Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
772 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildGoModule,
fetchurl,
}:
buildGoModule rec {
pname = "zabbix-agent2-plugin-postgresql";
version = "7.4.1";
src = fetchurl {
url = "https://cdn.zabbix.com/zabbix-agent2-plugins/sources/postgresql/zabbix-agent2-plugin-postgresql-${version}.tar.gz";
hash = "sha256-8Rlg1A6l6I89YoRHMo3s9MRip0LXe2hqiYBliGqEScg=";
};
vendorHash = null;
meta = {
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;
maintainers = with lib.maintainers; [ gador ];
platforms = lib.platforms.linux;
};
}