2020-01-08 02:48:01 -08:00
|
|
|
{ mkDerivation, lib, fetchurl, makeWrapper, python, qmake, ctags, gdb }:
|
2017-02-26 13:27:31 -08:00
|
|
|
|
2020-01-08 02:48:01 -08:00
|
|
|
mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "gede";
|
2021-01-25 04:59:24 -08:00
|
|
|
version = "2.17.1";
|
2017-07-01 11:54:36 -07:00
|
|
|
|
2017-02-26 13:27:31 -08:00
|
|
|
src = fetchurl {
|
2021-01-25 04:59:24 -08:00
|
|
|
url = "http://gede.dexar.se/uploads/source/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "0hbsy2ymzgl8xd9mnh43gxdfncy7g6czxfvfyh7zp3ij8yiwf8x3";
|
2017-02-26 13:27:31 -08:00
|
|
|
};
|
|
|
|
|
2018-04-19 13:58:21 -07:00
|
|
|
nativeBuildInputs = [ qmake makeWrapper python ];
|
2017-07-01 11:54:36 -07:00
|
|
|
|
2018-04-19 13:58:21 -07:00
|
|
|
buildInputs = [ ctags ];
|
|
|
|
|
|
|
|
dontUseQmakeConfigure = true;
|
2017-07-01 11:54:16 -07:00
|
|
|
|
2017-07-01 11:54:36 -07:00
|
|
|
buildPhase = ":";
|
|
|
|
|
|
|
|
installPhase = ''
|
2018-04-19 10:55:36 -07:00
|
|
|
python build.py install --verbose --prefix="$out"
|
2017-07-01 12:19:49 -07:00
|
|
|
wrapProgram $out/bin/gede \
|
2021-01-20 16:55:55 -08:00
|
|
|
--prefix PATH : ${lib.makeBinPath [ ctags gdb ]}
|
2017-02-26 13:27:31 -08:00
|
|
|
'';
|
|
|
|
|
2020-01-08 02:48:01 -08:00
|
|
|
meta = with lib; {
|
2017-02-26 13:27:31 -08:00
|
|
|
description = "Graphical frontend (GUI) to GDB";
|
2021-01-25 04:59:24 -08:00
|
|
|
homepage = "http://gede.dexar.se";
|
2017-02-26 13:27:31 -08:00
|
|
|
license = licenses.bsd2;
|
2018-09-03 14:24:38 -07:00
|
|
|
platforms = platforms.linux;
|
2017-02-26 13:27:31 -08:00
|
|
|
maintainers = with maintainers; [ juliendehos ];
|
|
|
|
};
|
|
|
|
}
|