net-snmp: rename from net_snmp
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, libpcap, bison, flex, cyrus_sasl, tcp_wrappers,
|
||||
pkgconfig, procps, which, wget, lsof, net_snmp, perl }:
|
||||
pkgconfig, procps, which, wget, lsof, net-snmp, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "argus";
|
||||
@@ -10,9 +10,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1zzf688dbbcb5z2r9v1p28rddns6znzx35nc05ygza6lp7aknkna";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ procps which wget lsof net_snmp ];
|
||||
nativeBuildInputs = [ pkgconfig bison flex ];
|
||||
buildInputs = [ libpcap cyrus_sasl tcp_wrappers ];
|
||||
propagatedBuildInputs = [ procps which wget lsof net-snmp ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace events/argus-extip.pl \
|
||||
@@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
|
||||
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
|
||||
--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; {
|
||||
|
||||
Reference in New Issue
Block a user