Valgrind: Fix dependencies.
svn path=/nixpkgs/trunk/; revision=11961
This commit is contained in:
parent
b534077ffe
commit
ec86f5b6b4
@ -1,17 +1,32 @@
|
|||||||
{stdenv, fetchurl}:
|
{ stdenv, fetchurl, perl, gdb }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "valgrind-3.3.0";
|
name = "valgrind-3.3.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://valgrind.org/downloads/valgrind-3.3.0.tar.bz2;
|
url = http://valgrind.org/downloads/valgrind-3.3.0.tar.bz2;
|
||||||
sha256 = "0yllx5a2f5bx18gqz74aikr27zxwpblswn65lqvm9rbzswlq5w2s";
|
sha256 = "0yllx5a2f5bx18gqz74aikr27zxwpblswn65lqvm9rbzswlq5w2s";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Perl is needed for `cg_annotate'.
|
||||||
|
# GDB is needed to provide a sane default for `--db-command'.
|
||||||
|
buildInputs = [ perl gdb ];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
if stdenv.system == "x86_64-linux" then ["--enable-only64bit"] else [];
|
if stdenv.system == "x86_64-linux" then ["--enable-only64bit"] else [];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.valgrind.org/;
|
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+";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2255,7 +2255,7 @@ let pkgs = rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
valgrind = import ../development/tools/analysis/valgrind {
|
valgrind = import ../development/tools/analysis/valgrind {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv perl gdb;
|
||||||
};
|
};
|
||||||
|
|
||||||
xxdiff = builderDefsPackage (selectVersion ../development/tools/misc/xxdiff "3.2") {
|
xxdiff = builderDefsPackage (selectVersion ../development/tools/misc/xxdiff "3.2") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user