nixpkgs/pkgs/tools/networking/dd-agent/default.nix

23 lines
535 B
Nix
Raw Normal View History

2013-01-08 17:32:47 +00:00
{ stdenv, fetchgit }:
stdenv.mkDerivation rec {
name = "dd-agent-ab14fde6f9";
src = fetchgit {
url = git://github.com/DataDog/dd-agent.git;
rev = "ab14fde6f9b9f6cb3544f643cece97ef18a0d770";
sha256 = "2615a2f122ac97363eba8973dfc6c2ce81cb61a26eb61c2988faad2abd05efc5";
};
postUnpack = "export sourceRoot=$sourceRoot/packaging";
makeFlags = [ "BUILD=$(out)" ];
installTargets = [ "install_base" "install_full" ];
2013-01-08 17:35:41 +00:00
postInstall = ''
mv $out/usr/* $out
rmdir $out/usr
'';
2013-01-08 17:32:47 +00:00
}