summary refs log tree commit diff
path: root/pkgs/development/libraries/gperftools/default.nix
blob: 76d1d8c41f750d129f5aa9037745f65e91d2d3cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, libunwind }:

stdenv.mkDerivation rec {
  name = "gperftools-2.0";

  src = fetchurl {
    url = "https://gperftools.googlecode.com/files/${name}.tar.gz";
    sha1 = "da7181a7ba9b5ee7302daf6c16e886c179fe8d1b";
  };

  patches = [ ./glibc-2.16.patch ];

  buildInputs = [ libunwind ];

  enableParallelBuilding = true;

  meta = {
    homepage = https://code.google.com/p/gperftools/;
    description = "Fast, multi-threaded malloc() and nifty performance analysis tools";
    platforms = stdenv.lib.platforms.linux;
  };
}