nixpkgs-suyu/pkgs/development/libraries/gperftools/default.nix

27 lines
824 B
Nix
Raw Normal View History

{ stdenv, fetchurl, libunwind }:
stdenv.mkDerivation rec {
2014-09-14 03:55:29 +02:00
name = "gperftools-2.2.1";
src = fetchurl {
2014-09-14 03:55:29 +02:00
url = "https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/gperftools-2.2.1.tar.gz";
sha256 = "04zkz5mh4vzcc7cx72b21bq70xy7y5kq9gsk4nbssxk5wlqggy2n";
};
2014-06-27 19:59:47 +02:00
buildInputs = stdenv.lib.optional stdenv.isLinux libunwind;
2013-11-08 23:45:47 +01:00
# some packages want to link to the static tcmalloc_minimal
# to drop the runtime dependency on gperftools
dontDisableStatic = true;
enableParallelBuilding = true;
2014-09-14 03:55:29 +02:00
meta = with stdenv.lib; {
homepage = https://code.google.com/p/gperftools/;
description = "Fast, multi-threaded malloc() and nifty performance analysis tools";
2014-09-14 03:55:29 +02:00
platforms = with platforms; linux ++ darwin;
license = licenses.bsd3;
maintainers = with maintainers; [ wkennington ];
};
}