Author: ludo
Date: Sun Sep  5 15:19:07 2010
New Revision: 23647
URL: https://svn.nixos.org/websvn/nix/?rev=23647&sc=1

Log:
GDB 7.2.

Modified:
   nixpkgs/trunk/pkgs/development/tools/misc/gdb/default.nix

Modified: nixpkgs/trunk/pkgs/development/tools/misc/gdb/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/development/tools/misc/gdb/default.nix   Sun Sep  5 
15:19:02 2010        (r23646)
+++ nixpkgs/trunk/pkgs/development/tools/misc/gdb/default.nix   Sun Sep  5 
15:19:07 2010        (r23647)
@@ -1,8 +1,8 @@
 { fetchurl, stdenv, ncurses, readline, gmp, mpfr, expat, texinfo
-, target ? null }:
+, dejagnu, target ? null }:
 
 let
-    basename = "gdb-7.1";
+    basename = "gdb-7.2";
 in
 stdenv.mkDerivation rec {
   name = basename + stdenv.lib.optionalString (target != null)
@@ -10,11 +10,12 @@
 
   src = fetchurl {
     url = "mirror://gnu/gdb/${basename}.tar.bz2";
-    sha256 = "0ljkv3xkpqg4x38mrmzx4b7h1bkpfy41vmi5q8nnakhajzbjfb0l";
+    sha256 = "1w0h6hya0bl46xddd57mdzwmffplwglhnh9x9hv46ll4mf44ni5z";
   };
 
   # TODO: Add optional support for Python scripting.
-  buildInputs = [ ncurses readline gmp mpfr expat texinfo ];
+  buildInputs = [ ncurses readline gmp mpfr expat texinfo ]
+    ++ stdenv.lib.optional doCheck dejagnu;
 
   configureFlags =
     '' --with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline
@@ -27,6 +28,9 @@
        rm -v $out/share/info/{standards,configure,bfd}.info
     '';
 
+  # TODO: Investigate & fix the test failures.
+  doCheck = false;
+
   meta = {
     description = "GDB, the GNU Project debugger";
 
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to