2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, extra-cmake-modules, qt5,
|
2018-07-17 00:10:15 +00:00
|
|
|
ki18n, kconfig, kiconthemes, kxmlgui, kwindowsystem,
|
2020-01-12 04:20:39 +00:00
|
|
|
qtbase, makeWrapper,
|
2018-07-17 00:10:15 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "kdbg";
|
2020-01-06 17:25:08 +00:00
|
|
|
version = "3.0.1";
|
2018-07-17 00:10:15 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/kdbg/${version}/${pname}-${version}.tar.gz";
|
2020-01-06 17:25:08 +00:00
|
|
|
sha256 = "1gax6xll8svmngw0z1rzhd77xysv01zp0i68x4n5pq0xgh7gi7a4";
|
2018-07-17 00:10:15 +00:00
|
|
|
};
|
|
|
|
|
2020-01-12 04:20:39 +00:00
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules makeWrapper ];
|
2018-07-17 00:10:15 +00:00
|
|
|
buildInputs = [ qt5.qtbase ki18n kconfig kiconthemes kxmlgui kwindowsystem ];
|
|
|
|
|
2020-01-12 04:20:39 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/kdbg --prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix}
|
|
|
|
'';
|
|
|
|
|
2021-01-12 11:50:23 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-10-02 07:58:50 +00:00
|
|
|
homepage = "https://www.kdbg.org/";
|
2018-07-17 00:10:15 +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.
|
|
|
|
'';
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.catern ];
|
|
|
|
};
|
|
|
|
}
|