2018-04-19 21:58:21 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper, python, qmake, ctags, gdb }:
|
2017-02-26 21:27:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gede";
|
2019-06-01 19:15:20 +01:00
|
|
|
version = "2.14.1";
|
2017-07-01 19:54:36 +01:00
|
|
|
|
2017-02-26 21:27:31 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://gede.acidron.com/uploads/source/${pname}-${version}.tar.xz";
|
2019-06-01 19:15:20 +01:00
|
|
|
sha256 = "1z7577zwz7h03d58as93hyx99isi3p4i3rhxr8l01zgi65mz0mr9";
|
2017-02-26 21:27:31 +00:00
|
|
|
};
|
|
|
|
|
2018-04-19 21:58:21 +01:00
|
|
|
nativeBuildInputs = [ qmake makeWrapper python ];
|
2017-07-01 19:54:36 +01:00
|
|
|
|
2018-04-19 21:58:21 +01:00
|
|
|
buildInputs = [ ctags ];
|
|
|
|
|
|
|
|
dontUseQmakeConfigure = true;
|
2017-07-01 19:54:16 +01:00
|
|
|
|
2017-07-01 19:54:36 +01:00
|
|
|
buildPhase = ":";
|
|
|
|
|
|
|
|
installPhase = ''
|
2018-04-19 18:55:36 +01:00
|
|
|
python build.py install --verbose --prefix="$out"
|
2017-07-01 20:19:49 +01:00
|
|
|
wrapProgram $out/bin/gede \
|
|
|
|
--prefix PATH : ${stdenv.lib.makeBinPath [ ctags gdb ]}
|
2017-02-26 21:27:31 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Graphical frontend (GUI) to GDB";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://gede.acidron.com;
|
2017-02-26 21:27:31 +00:00
|
|
|
license = licenses.bsd2;
|
2018-09-03 22:24:38 +01:00
|
|
|
platforms = platforms.linux;
|
2017-02-26 21:27:31 +00:00
|
|
|
maintainers = with maintainers; [ juliendehos ];
|
|
|
|
};
|
|
|
|
}
|