newrelic-sysmond: use archive url

This commit is contained in:
Daiderd Jordan 2016-07-18 23:03:30 +02:00
parent 774d7a0a79
commit 4d1c3bd14b

View File

@ -1,12 +1,11 @@
{ stdenv, fetchurl }: { stdenv, fetchurl }:
assert stdenv.system == "x86_64-linux";
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "newrelic-sysmond-2.3.0.132"; name = "newrelic-sysmond-${version}";
version = "2.3.0.132";
src = fetchurl { src = fetchurl {
url = "http://download.newrelic.com/server_monitor/release/newrelic-sysmond-2.3.0.132-linux.tar.gz"; url = "http://download.newrelic.com/server_monitor/archive/${version}/newrelic-sysmond-${version}-linux.tar.gz";
sha256 = "0cdvffdsadfahfn1779zjfawz6l77awab3g9mw43vsba1568jh4f"; sha256 = "0cdvffdsadfahfn1779zjfawz6l77awab3g9mw43vsba1568jh4f";
}; };
@ -17,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 ];
}; };
} }