8 pname = "zabbix-agent2-plugin-postgresql";
12 url = "https://cdn.zabbix.com/zabbix-agent2-plugins/sources/postgresql/zabbix-agent2-plugin-postgresql-${version}.tar.gz";
13 hash = "sha256-BgCdy+0VVe2+NTwZII3ASaxGGAT7zGiQUppI9whJtQ8=";
19 description = "Required tool for Zabbix agent integrated PostgreSQL monitoring";
20 mainProgram = "postgresql";
21 homepage = "https://www.zabbix.com/integrations/postgresql";
23 if (lib.versions.major version >= "7") then lib.licenses.agpl3Only else lib.licenses.gpl2Plus;
24 maintainers = with lib.maintainers; [ gador ];
25 platforms = lib.platforms.linux;