depot/third_party/nixpkgs/pkgs/kde/plasma/drkonqi/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

36 lines
556 B
Nix

{
mkKdeDerivation,
pkg-config,
systemd,
gdb,
python3,
substituteAll,
}:
let
gdb' = gdb.override {
hostCpuOnly = true;
python3 = python3.withPackages (ps: [
ps.psutil
ps.pygdbmi
ps.sentry-sdk
]);
};
in
mkKdeDerivation {
pname = "drkonqi";
patches = [
(substituteAll {
src = ./gdb-path.patch;
gdb = "${gdb'}/bin/gdb";
})
];
extraNativeBuildInputs = [ pkg-config ];
extraBuildInputs = [ systemd ];
extraCmakeFlags = [
"-DWITH_GDB12=1"
"-DWITH_PYTHON_VENDORING=0"
];
}