1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
4 pname = "newrelic-sysmond";
8 url = "https://download.newrelic.com/server_monitor/archive/${version}/newrelic-sysmond-${version}-linux.tar.gz";
9 sha256 = "0cdvffdsadfahfn1779zjfawz6l77awab3g9mw43vsba1568jh4f";
14 install -v -m755 daemon/nrsysmond.x64 $out/bin/nrsysmond
15 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
20 description = "System-wide monitoring for newrelic";
21 homepage = "https://newrelic.com/";
22 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
23 license = licenses.unfree;
24 platforms = platforms.linux;
25 maintainers = with maintainers; [ lnl7 ];