2014-12-22 21:13:08 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
assert stdenv.system == "x86_64-linux";
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-07-18 22:18:05 +02:00
|
|
|
name = "newrelic-sysmond-2.3.0.132";
|
2014-12-22 21:13:08 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-07-18 22:18:05 +02:00
|
|
|
url = "http://download.newrelic.com/server_monitor/release/newrelic-sysmond-2.3.0.132-linux.tar.gz";
|
|
|
|
sha256 = "0cdvffdsadfahfn1779zjfawz6l77awab3g9mw43vsba1568jh4f";
|
2014-12-22 21:13:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
install -v -m755 daemon/nrsysmond.x64 $out/bin/nrsysmond
|
2014-12-26 18:28:15 +01:00
|
|
|
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
2014-12-22 21:13:08 +01:00
|
|
|
$out/bin/nrsysmond
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://newrelic.com/;
|
|
|
|
|
|
|
|
description = "System-wide monitoring for newrelic";
|
|
|
|
|
|
|
|
license = stdenv.lib.licenses.unfree;
|
|
|
|
};
|
|
|
|
}
|