3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/kdbg/default.nix

35 lines
1,023 B
Nix
Raw Normal View History

2018-07-17 01:10:15 +01:00
{ stdenv, fetchurl, cmake, extra-cmake-modules, qt5,
ki18n, kconfig, kiconthemes, kxmlgui, kwindowsystem,
qtbase, makeWrapper,
2018-07-17 01:10:15 +01:00
}:
stdenv.mkDerivation rec {
pname = "kdbg";
2020-01-06 17:25:08 +00:00
version = "3.0.1";
2018-07-17 01:10:15 +01:00
src = fetchurl {
url = "mirror://sourceforge/kdbg/${version}/${pname}-${version}.tar.gz";
2020-01-06 17:25:08 +00:00
sha256 = "1gax6xll8svmngw0z1rzhd77xysv01zp0i68x4n5pq0xgh7gi7a4";
2018-07-17 01:10:15 +01:00
};
nativeBuildInputs = [ cmake extra-cmake-modules makeWrapper ];
2018-07-17 01:10:15 +01:00
buildInputs = [ qt5.qtbase ki18n kconfig kiconthemes kxmlgui kwindowsystem ];
enableParallelBuilding = true;
postInstall = ''
wrapProgram $out/bin/kdbg --prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix}
'';
2018-07-17 01:10:15 +01:00
meta = with stdenv.lib; {
homepage = "http://www.kdbg.org/";
2018-07-17 01:10:15 +01: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 ];
};
}