3
0
Fork 0
forked from mirrors/nixpkgs
svn path=/nixpkgs/trunk/; revision=23647
This commit is contained in:
Ludovic Courtès 2010-09-05 15:19:07 +00:00
parent 95486795ad
commit e9dc9a374a

View file

@ -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 @@ stdenv.mkDerivation rec {
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 @@ stdenv.mkDerivation rec {
rm -v $out/share/info/{standards,configure,bfd}.info
'';
# TODO: Investigate & fix the test failures.
doCheck = false;
meta = {
description = "GDB, the GNU Project debugger";