net-snmp: split outputs (#76155)

net-snmp: split outputs
This commit is contained in:
Jörg Thalheim
2019-12-25 06:27:55 +00:00
committed by GitHub
26 changed files with 126 additions and 71 deletions
+3 -3
View File
@@ -24,7 +24,7 @@
, lm_sensors
, mongoc
, mosquitto
, net_snmp
, net-snmp
, postgresql
, protobufc
, python
@@ -243,10 +243,10 @@ let
buildInputs = stdenv.lib.optionals stdenv.isLinux [ libatasmart udev ];
};
snmp = {
buildInputs = stdenv.lib.optionals stdenv.isLinux [ net_snmp ];
buildInputs = stdenv.lib.optionals stdenv.isLinux [ net-snmp ];
};
snmp_agent = {
buildInputs = stdenv.lib.optionals stdenv.isLinux [ net_snmp ];
buildInputs = stdenv.lib.optionals stdenv.isLinux [ net-snmp ];
};
statsd = {};
swap = {};
+3 -3
View File
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, autoreconfHook, libestr, json_c, zlib, pythonPackages, fastJson
, libkrb5 ? null, systemd ? null, jemalloc ? null, libmysqlclient ? null, postgresql ? null
, libdbi ? null, net_snmp ? null, libuuid ? null, curl ? null, gnutls ? null
, libdbi ? null, net-snmp ? null, libuuid ? null, curl ? null, gnutls ? null
, libgcrypt ? null, liblognorm ? null, openssl ? null, librelp ? null, libksi ? null
, liblogging ? null, libnet ? null, hadoop ? null, rdkafka ? null
, libmongo-client ? null, czmq ? null, rabbitmq-c ? null, hiredis ? null, mongoc ? null
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [
fastJson libestr json_c zlib pythonPackages.docutils libkrb5 jemalloc
postgresql libdbi net_snmp libuuid curl gnutls libgcrypt liblognorm openssl
postgresql libdbi net-snmp libuuid curl gnutls libgcrypt liblognorm openssl
librelp libksi liblogging libnet hadoop rdkafka libmongo-client czmq
rabbitmq-c hiredis mongoc
] ++ stdenv.lib.optional (libmysqlclient != null) libmysqlclient
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
(mkFlag (libmysqlclient != null) "mysql")
(mkFlag (postgresql != null) "pgsql")
(mkFlag (libdbi != null) "libdbi")
(mkFlag (net_snmp != null) "snmp")
(mkFlag (net-snmp != null) "snmp")
(mkFlag (libuuid != null) "uuid")
(mkFlag (curl != null) "elasticsearch")
(mkFlag (gnutls != null) "gnutls")