nixpkgs-suyu/pkgs/servers/monitoring/newrelic-sysmond/default.nix

29 lines
696 B
Nix
Raw Normal View History

2014-12-22 21:13:08 +01:00
{ stdenv, fetchurl }:
assert stdenv.system == "x86_64-linux";
stdenv.mkDerivation rec {
name = "newrelic-sysmond-1.5.1.93";
src = fetchurl {
url = "http://download.newrelic.com/server_monitor/release/newrelic-sysmond-1.5.1.93-linux.tar.gz";
sha256 = "1bfwyczcf7pvji8lx566jxgy8dhyf1gmqmi64lj10673a86axnwz";
};
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;
};
}