* Valgrind 3.4.0.

* callgrind_annotate.patch isn't needed because the generic builder
  rewrites /usr/bin/perl automatically.

svn path=/nixpkgs/trunk/; revision=13705
This commit is contained in:
Eelco Dolstra 2009-01-05 10:51:57 +00:00
parent 692d493f4e
commit 7e9eb1bf70
2 changed files with 3 additions and 13 deletions

View file

@ -1,8 +0,0 @@
--- valgrind-3.3.0/callgrind/callgrind_annotate.in 2007-12-11 00:18:11.000000000 +0100
+++ valgrind-3.3.0/callgrind/callgrind_annotate.in 2008-06-03 23:12:26.000000000 +0200
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#! @PERL@ -w
##--------------------------------------------------------------------##
##--- The cache simulation framework: instrumentation, recording ---##
##--- and results printing. ---##

View file

@ -1,15 +1,13 @@
{ stdenv, fetchurl, perl, gdb }:
stdenv.mkDerivation {
name = "valgrind-3.3.1";
name = "valgrind-3.4.0";
src = fetchurl {
url = http://valgrind.org/downloads/valgrind-3.3.1.tar.bz2;
sha256 = "1ymai2xr3c7132vzkngrshlcsrs1qagfd4vwccr96ixx2pcb9dwm";
url = http://valgrind.org/downloads/valgrind-3.4.0.tar.bz2;
sha256 = "0x4zbwk9ml3kbjzwh887ahw0pdxcm5h9159qg9kwm7zgn7jlmsnm";
};
patches = [ ./callgrind_annotate.patch ];
# Perl is needed for `cg_annotate'.
# GDB is needed to provide a sane default for `--db-command'.
buildInputs = [ perl gdb ];