Merge pull request #17077 from LnL7/fix-newrelic-sysmond

newrelic-sysmond: 1.5.1 -> 2.3.0
This commit is contained in:
Graham Christensen 2016-07-21 20:14:05 +00:00 committed by GitHub
commit 8f4dcd19f6

View file

@ -1,14 +1,12 @@
{ stdenv, fetchurl }: { stdenv, fetchurl }:
assert stdenv.system == "x86_64-linux";
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "newrelic-sysmond-1.5.1.93"; name = "newrelic-sysmond-${version}";
version = "2.3.0.132";
src = fetchurl { src = fetchurl {
url = "http://download.newrelic.com/server_monitor/release/newrelic-sysmond-1.5.1.93-linux.tar.gz"; url = "http://download.newrelic.com/server_monitor/archive/${version}/newrelic-sysmond-${version}-linux.tar.gz";
sha256 = "0cdvffdsadfahfn1779zjfawz6l77awab3g9mw43vsba1568jh4f";
sha256 = "1bfwyczcf7pvji8lx566jxgy8dhyf1gmqmi64lj10673a86axnwz";
}; };
installPhase = '' installPhase = ''
@ -18,11 +16,11 @@ stdenv.mkDerivation rec {
$out/bin/nrsysmond $out/bin/nrsysmond
''; '';
meta = { meta = with stdenv.lib; {
homepage = http://newrelic.com/;
description = "System-wide monitoring for newrelic"; description = "System-wide monitoring for newrelic";
homepage = http://newrelic.com/;
license = stdenv.lib.licenses.unfree; license = licenses.unfree;
platforms = platforms.linux;
maintainers = with maintainers; [ lnl7 ];
}; };
} }