depot/third_party/nixpkgs/pkgs/development/tools/misc/kdbg/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

33 lines
1,012 B
Nix

{ lib, stdenv, fetchurl, cmake, extra-cmake-modules, qt5,
ki18n, kconfig, kiconthemes, kxmlgui, kwindowsystem,
qtbase, makeWrapper,
}:
stdenv.mkDerivation rec {
pname = "kdbg";
version = "3.1.0";
src = fetchurl {
url = "mirror://sourceforge/kdbg/${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-aLX/0GXof77NqQj7I7FUCZjyDtF1P8MJ4/NHJNm4Yr0=";
};
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}
'';
dontWrapQtApps = true;
meta = with lib; {
homepage = "https://www.kdbg.org/";
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 ];
};
}