summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorRĂ¼diger Sonderfeld <ruediger@c-plusplus.de>2014-08-19 20:36:25 +0200
committerAristid Breitkreuz <aristidb@gmail.com>2014-09-06 13:31:56 +0200
commit46266cc216c42b983f3d293f42e651113fa83481 (patch)
tree45ba14860530556e93fd5fcc03e71d62e492cb1d /pkgs/development/tools
parent6f819ef4f4ec451ccbeac69d8112e9b93840a634 (diff)
downloadnixlib-46266cc216c42b983f3d293f42e651113fa83481.tar
nixlib-46266cc216c42b983f3d293f42e651113fa83481.tar.gz
nixlib-46266cc216c42b983f3d293f42e651113fa83481.tar.bz2
nixlib-46266cc216c42b983f3d293f42e651113fa83481.tar.lz
nixlib-46266cc216c42b983f3d293f42e651113fa83481.tar.xz
nixlib-46266cc216c42b983f3d293f42e651113fa83481.tar.zst
nixlib-46266cc216c42b983f3d293f42e651113fa83481.zip
gdb: Update to 7.8 and include Guile support.
GDB 7.8 adds Guile scripting support.  This is now enabled by default as
well.  Checking for guile also adds a pkg-config dependency.

It seems Python is explicitly excluded from cross building.  I'm not
sure if Guile should also be excluded.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/misc/gdb/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/tools/misc/gdb/default.nix b/pkgs/development/tools/misc/gdb/default.nix
index 5ee0f64a4e41..d9af1e3eb548 100644
--- a/pkgs/development/tools/misc/gdb/default.nix
+++ b/pkgs/development/tools/misc/gdb/default.nix
@@ -1,5 +1,5 @@
 { fetchurl, stdenv, ncurses, readline, gmp, mpfr, expat, texinfo
-, dejagnu, python, target ? null
+, dejagnu, python, pkgconfig, guile, target ? null
 
 # Additional dependencies for GNU/Hurd.
 , mig ? null, hurd ? null
@@ -8,7 +8,7 @@
 
 let
 
-  basename = "gdb-7.7";
+  basename = "gdb-7.8";
 
   # Whether (cross-)building for GNU/Hurd.  This is an approximation since
   # having `stdenv ? cross' doesn't tell us if we're building `crossDrv' and
@@ -26,8 +26,8 @@ stdenv.mkDerivation rec {
       ("-" + target.config);
 
   src = fetchurl {
-    url = "mirror://gnu/gdb/${basename}.tar.bz2";
-    sha256 = "08vcb97j1b7vxwq6088wb6s3g3bm8iwikd922y0xsgbbxv3d2104";
+    url = "mirror://gnu/gdb/${basename}.tar.xz";
+    sha256 = "49c4abe174f79f54e1f9e75210ffb590d9b497d5b5200b5398c0e073a4ecb875";
   };
 
   patches = [ ./edit-signals.patch ];
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ texinfo python ]
     ++ stdenv.lib.optional isGNU mig;
 
-  buildInputs = [ ncurses readline gmp mpfr expat ]
+  buildInputs = [ ncurses readline gmp mpfr expat pkgconfig guile ]
     ++ stdenv.lib.optional isGNU hurd
     ++ stdenv.lib.optional doCheck dejagnu;