2021-04-05 15:23:46 +00:00
|
|
|
{ mkDerivation, lib, fetchurl, makeWrapper, python3, qmake, ctags, gdb }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "gede";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "2.18.3";
|
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";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-RUl60iPa4XSlUilpYKaYQbRmLqthKHAvYonnhufjPsE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
nativeBuildInputs = [ qmake makeWrapper python3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ ctags ];
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
dontUseQmakeConfigure = true;
|
|
|
|
|
2021-07-21 07:28:18 +00:00
|
|
|
dontBuild = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "gede";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|