mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
23 lines
543 B
Nix
23 lines
543 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|