nixpkgs/pkgs/development/tools/misc/callgrind/default.nix
Eelco Dolstra a9df2bc8b6 * Latest valgrind, callgrind.
* Build callgrind so that it doesn't need its own copy of valgrind.
* Add kcachegrind and callgrind to the cache.

svn path=/nixpkgs/trunk/; revision=4635
2006-01-31 13:50:49 +00:00

19 lines
447 B
Nix

{stdenv, fetchurl, which, perl, valgrind}:
stdenv.mkDerivation {
name = "callgrind-0.10.1";
builder = ./builder.sh;
src = fetchurl {
url = http://kcachegrind.sourceforge.net/callgrind-0.10.1.tar.bz2;
md5 = "6d8acca6b58b0b72804339d04426d550";
};
# Callgrind wants to install in the same prefix as Valgrind. This
# patch fixes that.
patches = [./prefix.patch];
buildInputs = [which perl valgrind];
inherit valgrind;
}