2017-07-01 21:19:49 +02:00
|
|
|
{ stdenv, fetchurl, makeWrapper, python, qt4, ctags, gdb }:
|
2017-02-26 22:27:31 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gede-${version}";
|
2017-07-01 21:23:38 +02:00
|
|
|
version = "2.0.4";
|
2017-07-01 20:54:36 +02:00
|
|
|
|
2017-02-26 22:27:31 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://gede.acidron.com/uploads/source/${name}.tar.xz";
|
2017-07-01 21:23:38 +02:00
|
|
|
sha256 = "0ip86ss35sc330p4aykv5qj74jbdwh38i928w1bxb6g3w0xmfqba";
|
2017-02-26 22:27:31 +01:00
|
|
|
};
|
|
|
|
|
2017-07-01 21:19:49 +02:00
|
|
|
nativeBuildInputs = [ makeWrapper python ];
|
2017-07-01 20:54:36 +02:00
|
|
|
|
2017-07-01 21:19:49 +02:00
|
|
|
buildInputs = [ qt4 ];
|
2017-07-01 20:54:16 +02:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i build.py -e 's,qmake-qt4,qmake,'
|
|
|
|
'';
|
2017-02-26 22:27:31 +01:00
|
|
|
|
2017-07-01 20:54:36 +02:00
|
|
|
buildPhase = ":";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python build.py install --prefix="$out"
|
2017-07-01 21:19:49 +02:00
|
|
|
wrapProgram $out/bin/gede \
|
|
|
|
--prefix PATH : ${stdenv.lib.makeBinPath [ ctags gdb ]}
|
2017-02-26 22:27:31 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Graphical frontend (GUI) to GDB";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://gede.acidron.com;
|
2017-02-26 22:27:31 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ juliendehos ];
|
|
|
|
};
|
|
|
|
}
|