monitoring-plugins: add procs support

This commit is contained in:
Aaron Andersen 2019-03-20 08:13:36 -04:00
parent 894b7e9f21
commit 88e830894f
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook { stdenv, fetchFromGitHub, fetchpatch, autoreconfHook
, coreutils, gnugrep, gnused, lm_sensors, net_snmp, openssh, openssl, perl , coreutils, gnugrep, gnused, lm_sensors, net_snmp, openssh, openssl, perl
, dnsutils, mysql, zlib, openldap , dnsutils, mysql, zlib, openldap, procps
, runtimeShell }: , runtimeShell }:
with stdenv.lib; with stdenv.lib;
@ -9,7 +9,7 @@ let
majorVersion = "2.2"; majorVersion = "2.2";
minorVersion = ".0"; minorVersion = ".0";
binPath = makeBinPath [ coreutils gnugrep gnused lm_sensors net_snmp ]; binPath = makeBinPath [ coreutils gnugrep gnused lm_sensors net_snmp procps ];
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "monitoring-plugins-${majorVersion}${minorVersion}"; name = "monitoring-plugins-${majorVersion}${minorVersion}";
@ -48,7 +48,7 @@ in stdenv.mkDerivation rec {
''; '';
# !!! make openssh a runtime dependency only # !!! make openssh a runtime dependency only
buildInputs = [ dnsutils mysql net_snmp openldap openssh openssl perl zlib ]; buildInputs = [ dnsutils mysql net_snmp openldap openssh openssl perl procps zlib ];
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];