2013-01-08 18:48:24 +01:00
|
|
|
{ stdenv, fetchgit, python, sysstat }:
|
2013-01-08 18:32:47 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dd-agent-ab14fde6f9";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = git://github.com/DataDog/dd-agent.git;
|
|
|
|
rev = "ab14fde6f9b9f6cb3544f643cece97ef18a0d770";
|
|
|
|
sha256 = "2615a2f122ac97363eba8973dfc6c2ce81cb61a26eb61c2988faad2abd05efc5";
|
|
|
|
};
|
|
|
|
|
2013-01-08 18:42:11 +01:00
|
|
|
buildInputs = [ python ];
|
|
|
|
|
2013-01-08 18:32:47 +01:00
|
|
|
postUnpack = "export sourceRoot=$sourceRoot/packaging";
|
|
|
|
|
|
|
|
makeFlags = [ "BUILD=$(out)" ];
|
|
|
|
|
|
|
|
installTargets = [ "install_base" "install_full" ];
|
2013-01-08 18:35:41 +01:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/usr/* $out
|
|
|
|
rmdir $out/usr
|
|
|
|
'';
|
2013-01-08 18:55:55 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Event collector for the DataDog analysis service";
|
|
|
|
|
|
|
|
homepage = http://www.datadoghq.com;
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
|
|
|
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
2013-01-08 18:32:47 +01:00
|
|
|
}
|