net-snmp: rename from net_snmp

Changed files
+51 -48
pkgs
applications
graphics
sane
backends
development
python-modules
easysnmp
misc
servers
corosync
dns
dnsdist
ldap
monitoring
quagga
tools
networking
argus
ifstat-legacy
keepalived
lldpd
system
collectd
rsyslog
top-level
+2 -2
pkgs/applications/graphics/sane/backends/generic.nix
···
{ stdenv
-
, avahi, libjpeg, libusb1, libv4l, net_snmp, libpng
, gettext, pkgconfig
# List of { src name backend } attibute sets - see installFirmware below:
···
++ stdenv.lib.optional (libusb1 != null) "--enable-libusb_1_0"
;
-
buildInputs = [ avahi libusb1 libv4l net_snmp libpng ];
nativeBuildInputs = [ gettext pkgconfig ];
enableParallelBuilding = true;
···
{ stdenv
+
, avahi, libjpeg, libusb1, libv4l, net-snmp, libpng
, gettext, pkgconfig
# List of { src name backend } attibute sets - see installFirmware below:
···
++ stdenv.lib.optional (libusb1 != null) "--enable-libusb_1_0"
;
+
buildInputs = [ avahi libusb1 libv4l net-snmp libpng ];
nativeBuildInputs = [ gettext pkgconfig ];
enableParallelBuilding = true;
+3 -3
pkgs/development/python-modules/easysnmp/default.nix
···
, buildPythonPackage
, pythonAtLeast
, fetchFromGitHub
-
, net_snmp
, openssl
, pytest
, pytestcov
···
];
buildInputs = [
-
net_snmp
openssl
];
buildPhase = ''
-
python setup.py build bdist_wheel --basedir=${net_snmp}/bin
'';
# Unable to get tests to pass, even running by hand. The pytest tests have
···
, buildPythonPackage
, pythonAtLeast
, fetchFromGitHub
+
, net-snmp
, openssl
, pytest
, pytestcov
···
];
buildInputs = [
+
net-snmp
openssl
];
buildPhase = ''
+
python setup.py build bdist_wheel --basedir=${lib.getBin net-snmp}/bin
'';
# Unable to get tests to pass, even running by hand. The pytest tests have
+2 -2
pkgs/misc/drivers/hplip/3.16.11.nix
···
{ stdenv, fetchurl, substituteAll
, pkgconfig
, cups, libjpeg, libusb1, python2Packages, sane-backends, dbus, usbutils
-
, net_snmp, openssl, nettools
, bash, coreutils, utillinux
, qtSupport ? true
, withPlugin ? false
···
libusb1
sane-backends
dbus
-
net_snmp
openssl
];
···
{ stdenv, fetchurl, substituteAll
, pkgconfig
, cups, libjpeg, libusb1, python2Packages, sane-backends, dbus, usbutils
+
, net-snmp, openssl, nettools
, bash, coreutils, utillinux
, qtSupport ? true
, withPlugin ? false
···
libusb1
sane-backends
dbus
+
net-snmp
openssl
];
+2 -2
pkgs/misc/drivers/hplip/3.18.5.nix
···
, pkgconfig
, cups, zlib, libjpeg, libusb1, python2Packages, sane-backends
, dbus, file, ghostscript, usbutils
-
, net_snmp, openssl, perl, nettools
, bash, coreutils, utillinux
, withQt5 ? true
, withPlugin ? false
···
dbus
file
ghostscript
-
net_snmp
openssl
perl
zlib
···
, pkgconfig
, cups, zlib, libjpeg, libusb1, python2Packages, sane-backends
, dbus, file, ghostscript, usbutils
+
, net-snmp, openssl, perl, nettools
, bash, coreutils, utillinux
, withQt5 ? true
, withPlugin ? false
···
dbus
file
ghostscript
+
net-snmp
openssl
perl
zlib
+2 -2
pkgs/misc/drivers/hplip/default.nix
···
, pkgconfig
, cups, zlib, libjpeg, libusb1, python3Packages, sane-backends
, dbus, file, ghostscript, usbutils
-
, net_snmp, openssl, perl, nettools
, bash, coreutils, utillinux
, withQt5 ? true
, withPlugin ? false
···
dbus
file
ghostscript
-
net_snmp
openssl
perl
zlib
···
, pkgconfig
, cups, zlib, libjpeg, libusb1, python3Packages, sane-backends
, dbus, file, ghostscript, usbutils
+
, net-snmp, openssl, perl, nettools
, bash, coreutils, utillinux
, withQt5 ? true
, withPlugin ? false
···
dbus
file
ghostscript
+
net-snmp
openssl
perl
zlib
+2 -2
pkgs/servers/corosync/default.nix
···
{ stdenv, fetchurl, makeWrapper, pkgconfig, nss, nspr, libqb
-
, dbus, rdma-core, libstatgrab, net_snmp
, enableDbus ? false
, enableInfiniBandRdma ? false
, enableMonitoring ? false
···
] ++ optional enableDbus dbus
++ optional enableInfiniBandRdma rdma-core
++ optional enableMonitoring libstatgrab
-
++ optional enableSnmp net_snmp;
configureFlags = [
"--sysconfdir=/etc"
···
{ stdenv, fetchurl, makeWrapper, pkgconfig, nss, nspr, libqb
+
, dbus, rdma-core, libstatgrab, net-snmp
, enableDbus ? false
, enableInfiniBandRdma ? false
, enableMonitoring ? false
···
] ++ optional enableDbus dbus
++ optional enableInfiniBandRdma rdma-core
++ optional enableMonitoring libstatgrab
+
++ optional enableSnmp net-snmp;
configureFlags = [
"--sysconfdir=/etc"
+2 -2
pkgs/servers/dns/dnsdist/default.nix
···
{ stdenv, fetchurl, pkgconfig, systemd
, boost, libsodium, libedit, re2
-
, net_snmp, lua, protobuf, openssl, zlib, h2o
}:
stdenv.mkDerivation rec {
···
};
nativeBuildInputs = [ pkgconfig protobuf ];
-
buildInputs = [ systemd boost libsodium libedit re2 net_snmp lua openssl zlib h2o ];
configureFlags = [
"--enable-libsodium"
···
{ stdenv, fetchurl, pkgconfig, systemd
, boost, libsodium, libedit, re2
+
, net-snmp, lua, protobuf, openssl, zlib, h2o
}:
stdenv.mkDerivation rec {
···
};
nativeBuildInputs = [ pkgconfig protobuf ];
+
buildInputs = [ systemd boost libsodium libedit re2 net-snmp lua openssl zlib h2o ];
configureFlags = [
"--enable-libsodium"
+5 -3
pkgs/servers/ldap/389/default.nix
···
{ stdenv, fetchurl, fetchpatch, autoreconfHook, pkgconfig, doxygen, perl, pam, nspr, nss, openldap
-
, db, cyrus_sasl, svrcore, icu, net_snmp, kerberos, pcre, perlPackages, libevent, openssl, python
}:
stdenv.mkDerivation rec {
···
nativeBuildInputs = [ autoreconfHook pkgconfig doxygen ];
buildInputs = [
perl pam nspr nss openldap db cyrus_sasl svrcore icu
-
net_snmp kerberos pcre libevent openssl python
] ++ (with perlPackages; [ MozillaLdap NetAddrIP DBFile ]);
patches = [
···
"--with-db-inc=${db.dev}/include"
"--with-db-lib=${db.out}/lib"
"--with-sasl=${cyrus_sasl.dev}"
-
"--with-netsnmp=${net_snmp}"
];
enableParallelBuilding = true;
···
{ stdenv, fetchurl, fetchpatch, autoreconfHook, pkgconfig, doxygen, perl, pam, nspr, nss, openldap
+
, db, cyrus_sasl, svrcore, icu, net-snmp, kerberos, pcre, perlPackages, libevent, openssl, python
}:
stdenv.mkDerivation rec {
···
nativeBuildInputs = [ autoreconfHook pkgconfig doxygen ];
buildInputs = [
perl pam nspr nss openldap db cyrus_sasl svrcore icu
+
net-snmp kerberos pcre libevent openssl python
] ++ (with perlPackages; [ MozillaLdap NetAddrIP DBFile ]);
patches = [
···
"--with-db-inc=${db.dev}/include"
"--with-db-lib=${db.out}/lib"
"--with-sasl=${cyrus_sasl.dev}"
+
"--with-netsnmp=yes"
+
"--with-netsnmp-inc=${stdenv.lib.getDev net-snmp}/include"
+
"--with-netsnmp-lib=${stdenv.lib.getLib net-snmp}/lib"
];
enableParallelBuilding = true;
+3 -3
pkgs/servers/monitoring/plugins/default.nix
···
{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook
-
, coreutils, gnugrep, gnused, lm_sensors, net_snmp, openssh, openssl, perl
, dnsutils, libdbi, libmysqlclient, zlib, openldap, procps
, runtimeShell }:
···
majorVersion = "2.2";
minorVersion = ".0";
-
binPath = makeBinPath [ coreutils gnugrep gnused lm_sensors net_snmp procps ];
in stdenv.mkDerivation {
name = "monitoring-plugins-${majorVersion}${minorVersion}";
···
'';
# !!! make openssh a runtime dependency only
-
buildInputs = [ dnsutils libdbi libmysqlclient net_snmp openldap openssh openssl perl procps zlib ];
nativeBuildInputs = [ autoreconfHook ];
···
{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook
+
, coreutils, gnugrep, gnused, lm_sensors, net-snmp, openssh, openssl, perl
, dnsutils, libdbi, libmysqlclient, zlib, openldap, procps
, runtimeShell }:
···
majorVersion = "2.2";
minorVersion = ".0";
+
binPath = makeBinPath [ coreutils gnugrep gnused lm_sensors net-snmp procps ];
in stdenv.mkDerivation {
name = "monitoring-plugins-${majorVersion}${minorVersion}";
···
'';
# !!! make openssh a runtime dependency only
+
buildInputs = [ dnsutils libdbi libmysqlclient net-snmp openldap openssh openssl perl procps zlib ];
nativeBuildInputs = [ autoreconfHook ];
+2 -2
pkgs/servers/monitoring/prometheus/snmp-exporter.nix
···
-
{ stdenv, buildGoPackage, fetchFromGitHub, net_snmp }:
buildGoPackage rec {
pname = "snmp_exporter";
···
sha256 = "1cnz1wapxs3fkghzy6v90s56vd0ngynypyapcpbmx5y66rlpdxx6";
};
-
buildInputs = [ net_snmp ];
doCheck = true;
···
+
{ stdenv, buildGoPackage, fetchFromGitHub, net-snmp }:
buildGoPackage rec {
pname = "snmp_exporter";
···
sha256 = "1cnz1wapxs3fkghzy6v90s56vd0ngynypyapcpbmx5y66rlpdxx6";
};
+
buildInputs = [ net-snmp ];
doCheck = true;
+2 -2
pkgs/servers/monitoring/zabbix/proxy.nix
···
{ stdenv, fetchurl, pkgconfig, libevent, libiconv, openssl, pcre, zlib
, odbcSupport ? true, unixODBC
-
, snmpSupport ? true, net_snmp
, sshSupport ? true, libssh2
, sqliteSupport ? false, sqlite
, mysqlSupport ? false, libmysqlclient
···
zlib
]
++ optional odbcSupport unixODBC
-
++ optional snmpSupport net_snmp
++ optional sqliteSupport sqlite
++ optional sshSupport libssh2
++ optional mysqlSupport libmysqlclient
···
{ stdenv, fetchurl, pkgconfig, libevent, libiconv, openssl, pcre, zlib
, odbcSupport ? true, unixODBC
+
, snmpSupport ? true, net-snmp
, sshSupport ? true, libssh2
, sqliteSupport ? false, sqlite
, mysqlSupport ? false, libmysqlclient
···
zlib
]
++ optional odbcSupport unixODBC
+
++ optional snmpSupport net-snmp
++ optional sqliteSupport sqlite
++ optional sshSupport libssh2
++ optional mysqlSupport libmysqlclient
+2 -2
pkgs/servers/monitoring/zabbix/server.nix
···
, jabberSupport ? true, iksemel
, ldapSupport ? true, openldap
, odbcSupport ? true, unixODBC
-
, snmpSupport ? true, net_snmp
, sshSupport ? true, libssh2
, mysqlSupport ? false, libmysqlclient
, postgresqlSupport ? false, postgresql
···
++ optional odbcSupport unixODBC
++ optional jabberSupport iksemel
++ optional ldapSupport openldap
-
++ optional snmpSupport net_snmp
++ optional sshSupport libssh2
++ optional mysqlSupport libmysqlclient
++ optional postgresqlSupport postgresql;
···
, jabberSupport ? true, iksemel
, ldapSupport ? true, openldap
, odbcSupport ? true, unixODBC
+
, snmpSupport ? true, net-snmp
, sshSupport ? true, libssh2
, mysqlSupport ? false, libmysqlclient
, postgresqlSupport ? false, postgresql
···
++ optional odbcSupport unixODBC
++ optional jabberSupport iksemel
++ optional ldapSupport openldap
+
++ optional snmpSupport net-snmp
++ optional sshSupport libssh2
++ optional mysqlSupport libmysqlclient
++ optional postgresqlSupport postgresql;
+2 -2
pkgs/servers/quagga/default.nix
···
-
{ stdenv, fetchurl, libcap, libnl, readline, net_snmp, less, perl, texinfo,
pkgconfig, c-ares }:
stdenv.mkDerivation rec {
···
};
buildInputs =
-
[ readline net_snmp c-ares ]
++ stdenv.lib.optionals stdenv.isLinux [ libcap libnl ];
nativeBuildInputs = [ pkgconfig perl texinfo ];
···
+
{ stdenv, fetchurl, libcap, libnl, readline, net-snmp, less, perl, texinfo,
pkgconfig, c-ares }:
stdenv.mkDerivation rec {
···
};
buildInputs =
+
[ readline net-snmp c-ares ]
++ stdenv.lib.optionals stdenv.isLinux [ libcap libnl ];
nativeBuildInputs = [ pkgconfig perl texinfo ];
+4 -4
pkgs/tools/networking/argus/default.nix
···
{ stdenv, fetchurl, libpcap, bison, flex, cyrus_sasl, tcp_wrappers,
-
pkgconfig, procps, which, wget, lsof, net_snmp, perl }:
stdenv.mkDerivation rec {
pname = "argus";
···
sha256 = "1zzf688dbbcb5z2r9v1p28rddns6znzx35nc05ygza6lp7aknkna";
};
-
propagatedBuildInputs = [ procps which wget lsof net_snmp ];
nativeBuildInputs = [ pkgconfig bison flex ];
buildInputs = [ libpcap cyrus_sasl tcp_wrappers ];
patchPhase = ''
substituteInPlace events/argus-extip.pl \
···
substituteInPlace events/argus-vmstat.sh \
--replace vm_stat ${procps}/bin/vmstat
substituteInPlace events/argus-snmp.sh \
-
--replace /usr/bin/snmpget ${net_snmp}/bin/snmpget \
-
--replace /usr/bin/snmpwalk ${net_snmp}/bin/snmpwalk
'';
meta = with stdenv.lib; {
···
{ stdenv, fetchurl, libpcap, bison, flex, cyrus_sasl, tcp_wrappers,
+
pkgconfig, procps, which, wget, lsof, net-snmp, perl }:
stdenv.mkDerivation rec {
pname = "argus";
···
sha256 = "1zzf688dbbcb5z2r9v1p28rddns6znzx35nc05ygza6lp7aknkna";
};
nativeBuildInputs = [ pkgconfig bison flex ];
buildInputs = [ libpcap cyrus_sasl tcp_wrappers ];
+
propagatedBuildInputs = [ procps which wget lsof net-snmp ];
patchPhase = ''
substituteInPlace events/argus-extip.pl \
···
substituteInPlace events/argus-vmstat.sh \
--replace vm_stat ${procps}/bin/vmstat
substituteInPlace events/argus-snmp.sh \
+
--replace /usr/bin/snmpget ${stdenv.lib.getBin net-snmp}/bin/snmpget \
+
--replace /usr/bin/snmpwalk ${stdenv.lib.getBin net-snmp}/bin/snmpwalk
'';
meta = with stdenv.lib; {
+2 -2
pkgs/tools/networking/ifstat-legacy/default.nix
···
-
{ stdenv, fetchurl, autoreconfHook, net_snmp }:
stdenv.mkDerivation rec {
pname = "ifstat-legacy";
···
sha256 = "01zmv6vk5kh5xmd563xws8a1qnxjb6b6kv59yzz9r3rrghxhd6c5";
};
-
buildInputs = [ net_snmp ];
nativeBuildInputs = [ autoreconfHook ];
···
+
{ stdenv, fetchurl, autoreconfHook, net-snmp }:
stdenv.mkDerivation rec {
pname = "ifstat-legacy";
···
sha256 = "01zmv6vk5kh5xmd563xws8a1qnxjb6b6kv59yzz9r3rrghxhd6c5";
};
+
buildInputs = [ net-snmp ];
nativeBuildInputs = [ autoreconfHook ];
+2 -2
pkgs/tools/networking/keepalived/default.nix
···
{ stdenv, fetchFromGitHub
-
, libnfnetlink, libnl, net_snmp, openssl
, pkgconfig, autoreconfHook }:
stdenv.mkDerivation rec {
···
buildInputs = [
libnfnetlink
libnl
-
net_snmp
openssl
];
···
{ stdenv, fetchFromGitHub
+
, libnfnetlink, libnl, net-snmp, openssl
, pkgconfig, autoreconfHook }:
stdenv.mkDerivation rec {
···
buildInputs = [
libnfnetlink
libnl
+
net-snmp
openssl
];
+2 -2
pkgs/tools/networking/lldpd/default.nix
···
{ stdenv, lib, fetchurl, pkgconfig, removeReferencesTo
-
, libevent, readline, net_snmp, openssl
}:
stdenv.mkDerivation rec {
···
];
nativeBuildInputs = [ pkgconfig removeReferencesTo ];
-
buildInputs = [ libevent readline net_snmp openssl ];
enableParallelBuilding = true;
···
{ stdenv, lib, fetchurl, pkgconfig, removeReferencesTo
+
, libevent, readline, net-snmp, openssl
}:
stdenv.mkDerivation rec {
···
];
nativeBuildInputs = [ pkgconfig removeReferencesTo ];
+
buildInputs = [ libevent readline net-snmp openssl ];
enableParallelBuilding = true;
+3 -3
pkgs/tools/system/collectd/plugins.nix
···
, lm_sensors
, mongoc
, mosquitto
-
, net_snmp
, postgresql
, protobufc
, python
···
buildInputs = stdenv.lib.optionals stdenv.isLinux [ libatasmart udev ];
};
snmp = {
-
buildInputs = stdenv.lib.optionals stdenv.isLinux [ net_snmp ];
};
snmp_agent = {
-
buildInputs = stdenv.lib.optionals stdenv.isLinux [ net_snmp ];
};
statsd = {};
swap = {};
···
, lm_sensors
, mongoc
, mosquitto
+
, net-snmp
, postgresql
, protobufc
, python
···
buildInputs = stdenv.lib.optionals stdenv.isLinux [ libatasmart udev ];
};
snmp = {
+
buildInputs = stdenv.lib.optionals stdenv.isLinux [ net-snmp ];
};
snmp_agent = {
+
buildInputs = stdenv.lib.optionals stdenv.isLinux [ net-snmp ];
};
statsd = {};
swap = {};
+3 -3
pkgs/tools/system/rsyslog/default.nix
···
{ 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
, 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
···
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [
fastJson libestr json_c zlib pythonPackages.docutils libkrb5 jemalloc
-
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
···
(mkFlag (libmysqlclient != null) "mysql")
(mkFlag (postgresql != null) "pgsql")
(mkFlag (libdbi != null) "libdbi")
-
(mkFlag (net_snmp != null) "snmp")
(mkFlag (libuuid != null) "uuid")
(mkFlag (curl != null) "elasticsearch")
(mkFlag (gnutls != null) "gnutls")
···
{ 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
, 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
···
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [
fastJson libestr json_c zlib pythonPackages.docutils libkrb5 jemalloc
+
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
···
(mkFlag (libmysqlclient != null) "mysql")
(mkFlag (postgresql != null) "pgsql")
(mkFlag (libdbi != null) "libdbi")
+
(mkFlag (net-snmp != null) "snmp")
(mkFlag (libuuid != null) "uuid")
(mkFlag (curl != null) "elasticsearch")
(mkFlag (gnutls != null) "gnutls")
+1
pkgs/top-level/aliases.nix
···
smbclient = samba; # added 2018-04-25
slim = throw "slim has been removed. Please use a different display-manager"; # added 2019-11-11
slimThemes = throw "slimThemes has been removed because slim has been also"; # added 2019-11-11
spaceOrbit = space-orbit; # addewd 2016-05-23
speech_tools = speech-tools; # added 2018-04-25
speedtest_cli = speedtest-cli; # added 2015-02-17
···
smbclient = samba; # added 2018-04-25
slim = throw "slim has been removed. Please use a different display-manager"; # added 2019-11-11
slimThemes = throw "slimThemes has been removed because slim has been also"; # added 2019-11-11
+
net_snmp = net-snmp; # added 2019-12-21
spaceOrbit = space-orbit; # addewd 2016-05-23
speech_tools = speech-tools; # added 2018-04-25
speedtest_cli = speedtest-cli; # added 2015-02-17
+2 -2
pkgs/top-level/all-packages.nix
···
libmysqlclient = null;
postgresql = null;
libdbi = null;
-
net_snmp = null;
libuuid = null;
gnutls = null;
libgcrypt = null;
···
check-esxi-hardware = callPackage ../servers/monitoring/plugins/esxi.nix {};
-
net_snmp = callPackage ../servers/monitoring/net-snmp { };
newrelic-sysmond = callPackage ../servers/monitoring/newrelic-sysmond { };
···
libmysqlclient = null;
postgresql = null;
libdbi = null;
+
net-snmp = null;
libuuid = null;
gnutls = null;
libgcrypt = null;
···
check-esxi-hardware = callPackage ../servers/monitoring/plugins/esxi.nix {};
+
net-snmp = callPackage ../servers/monitoring/net-snmp { };
newrelic-sysmond = callPackage ../servers/monitoring/newrelic-sysmond { };
+1 -1
pkgs/top-level/python-packages.nix
···
easysnmp = callPackage ../development/python-modules/easysnmp {
openssl = pkgs.openssl;
-
net_snmp = pkgs.net_snmp;
};
iowait = callPackage ../development/python-modules/iowait {};
···
easysnmp = callPackage ../development/python-modules/easysnmp {
openssl = pkgs.openssl;
+
net-snmp = pkgs.net-snmp;
};
iowait = callPackage ../development/python-modules/iowait {};