2020-04-24 23:36:52 +00:00
|
|
|
{ mkDerivation, lib, fetchurl, makeWrapper, python, qmake, ctags, gdb }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "gede";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "2.17.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-02-05 17:12:51 +00:00
|
|
|
url = "http://gede.dexar.se/uploads/source/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "0hbsy2ymzgl8xd9mnh43gxdfncy7g6czxfvfyh7zp3ij8yiwf8x3";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake makeWrapper python ];
|
|
|
|
|
|
|
|
buildInputs = [ ctags ];
|
|
|
|
|
|
|
|
dontUseQmakeConfigure = true;
|
|
|
|
|
|
|
|
buildPhase = ":";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python build.py install --verbose --prefix="$out"
|
|
|
|
wrapProgram $out/bin/gede \
|
2021-02-05 17:12:51 +00:00
|
|
|
--prefix PATH : ${lib.makeBinPath [ ctags gdb ]}
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Graphical frontend (GUI) to GDB";
|
2021-02-05 17:12:51 +00:00
|
|
|
homepage = "http://gede.dexar.se";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ juliendehos ];
|
|
|
|
};
|
|
|
|
}
|