2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, extra-cmake-modules, qt5,
|
2020-04-24 23:36:52 +00:00
|
|
|
ki18n, kconfig, kiconthemes, kxmlgui, kwindowsystem,
|
|
|
|
qtbase, makeWrapper,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "kdbg";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "3.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/kdbg/${version}/${pname}-${version}.tar.gz";
|
2024-01-13 08:15:51 +00:00
|
|
|
sha256 = "sha256-aLX/0GXof77NqQj7I7FUCZjyDtF1P8MJ4/NHJNm4Yr0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules makeWrapper ];
|
|
|
|
buildInputs = [ qt5.qtbase ki18n kconfig kiconthemes kxmlgui kwindowsystem ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/kdbg --prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix}
|
|
|
|
'';
|
|
|
|
|
2021-02-19 19:06:45 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-07 09:15:18 +00:00
|
|
|
homepage = "https://www.kdbg.org/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = ''
|
|
|
|
A graphical user interface to gdb, the GNU debugger. It provides an
|
|
|
|
intuitive interface for setting breakpoints, inspecting variables, and
|
|
|
|
stepping through code.
|
|
|
|
'';
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "kdbg";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.catern ];
|
|
|
|
};
|
|
|
|
}
|