diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-06-03 20:56:12 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-06-03 20:56:12 +0000 |
commit | ec86f5b6b40891bb3f0e65f5f627e5a6863cc2ac (patch) | |
tree | aa061e4efdee8aace19a55df44ddd3eecfd10072 /pkgs/development/tools/analysis | |
parent | b534077ffe14db6d5322ad31ffea0c2133d78316 (diff) |
Valgrind: Fix dependencies.
svn path=/nixpkgs/trunk/; revision=11961
Diffstat (limited to 'pkgs/development/tools/analysis')
-rw-r--r-- | pkgs/development/tools/analysis/valgrind/default.nix | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/pkgs/development/tools/analysis/valgrind/default.nix b/pkgs/development/tools/analysis/valgrind/default.nix index 7f46228304b23..05ba5d75894dd 100644 --- a/pkgs/development/tools/analysis/valgrind/default.nix +++ b/pkgs/development/tools/analysis/valgrind/default.nix @@ -1,17 +1,32 @@ -{stdenv, fetchurl}: +{ stdenv, fetchurl, perl, gdb }: stdenv.mkDerivation { name = "valgrind-3.3.0"; + src = fetchurl { url = http://valgrind.org/downloads/valgrind-3.3.0.tar.bz2; sha256 = "0yllx5a2f5bx18gqz74aikr27zxwpblswn65lqvm9rbzswlq5w2s"; }; + # Perl is needed for `cg_annotate'. + # GDB is needed to provide a sane default for `--db-command'. + buildInputs = [ perl gdb ]; + configureFlags = if stdenv.system == "x86_64-linux" then ["--enable-only64bit"] else []; meta = { homepage = http://www.valgrind.org/; - description = "Award-winning suite of tools for debugging and profiling Linux programs"; + description = "Valgrind, a debugging and profiling tool suite"; + + longDescription = '' + Valgrind is an award-winning instrumentation framework for + building dynamic analysis tools. There are Valgrind tools that + can automatically detect many memory management and threading + bugs, and profile your programs in detail. You can also use + Valgrind to build new tools. + ''; + + license = "GPLv2+"; }; } |