From 6fd4c26fc28a385eb6239452a658ee7367e553d7 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 27 Sep 2011 17:24:01 +0000 Subject: [PATCH] add google perftools 1.8.3 svn path=/nixpkgs/trunk/; revision=29517 --- .../libraries/google-perftools/default.nix | 14 ++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/google-perftools/default.nix diff --git a/pkgs/development/libraries/google-perftools/default.nix b/pkgs/development/libraries/google-perftools/default.nix new file mode 100644 index 000000000000..7935a794a2ff --- /dev/null +++ b/pkgs/development/libraries/google-perftools/default.nix @@ -0,0 +1,14 @@ +{stdenv, fetchurl, libunwind}: + +stdenv.mkDerivation rec { + name = "google-perftools-1.8.3"; + src = fetchurl { + url = "http://google-perftools.googlecode.com/files/${name}.tar.gz"; + sha256 = "0ncx3a8jl6n38q9bjnaz5sq96yb6yh99j3bl64k3295v9arl9mva"; + }; + buildInputs = [libunwind]; + meta = { + description = "Fast, multi-threaded malloc() and nifty performance analysis tools."; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c43215b787fd..42a954839143 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3475,6 +3475,8 @@ let inherit (gnome) gtk glib; }; + google_perftools = callPackage ../development/libraries/google-perftools { }; + #GMP ex-satellite, so better keep it near gmp mpfr = callPackage ../development/libraries/mpfr { };