1 { lib, stdenv, fetchurl, pkg-config, libiconv, openssl, pcre }:
3 import ./versions.nix ({ version, hash, ... }:
5 pname = "zabbix-agent";
9 url = "https://cdn.zabbix.com/zabbix/sources/stable/${lib.versions.majorMinor version}/zabbix-${version}.tar.gz";
13 nativeBuildInputs = [ pkg-config ];
25 "--with-openssl=${openssl.dev}"
33 cp conf/zabbix_agentd/*.conf $out/etc/zabbix_agentd.conf.d/
37 description = "Enterprise-class open source distributed monitoring solution (client-side agent)";
38 homepage = "https://www.zabbix.com/";
39 license = licenses.gpl2Plus;
40 maintainers = with maintainers; [ mmahut psyanticy ];
41 platforms = platforms.linux;