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