2017-07-01 19:54:36 +01:00
|
|
|
{ stdenv, fetchurl, ctags, qt4, python }:
|
2017-02-26 21:27:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gede-${version}";
|
2017-07-01 19:54:36 +01:00
|
|
|
version = "2.0.3";
|
|
|
|
|
2017-02-26 21:27:31 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://gede.acidron.com/uploads/source/${name}.tar.xz";
|
|
|
|
sha256 = "1znlmkjgrmjl79q73xaa9ybp1xdc3k4h4ynv3jj5z8f92gjnj3kk";
|
|
|
|
};
|
|
|
|
|
2017-07-01 19:54:36 +01:00
|
|
|
nativeBuildInputs = [ python ];
|
|
|
|
|
|
|
|
buildInputs = [ ctags qt4 ];
|
2017-07-01 19:54:16 +01:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i build.py -e 's,qmake-qt4,qmake,'
|
|
|
|
'';
|
2017-02-26 21:27:31 +00:00
|
|
|
|
2017-07-01 19:54:36 +01:00
|
|
|
buildPhase = ":";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python build.py install --prefix="$out"
|
2017-02-26 21:27:31 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Graphical frontend (GUI) to GDB";
|
|
|
|
homepage = "http://gede.acidron.com";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ juliendehos ];
|
|
|
|
};
|
|
|
|
}
|