15 stdenv.mkDerivation (finalAttrs: {
20 url = "mirror://kde/stable/kdiff3/kdiff3-${finalAttrs.version}.tar.xz";
21 hash = "sha256-rt573JqpZ1rukP0qNScFLtMbMJGNQuaQelksunzmp8M=";
24 nativeBuildInputs = [ extra-cmake-modules kdoctools wrapQtAppsHook ];
26 buildInputs = [ boost kconfig kcrash kinit kparts kiconthemes ];
28 cmakeFlags = [ "-Wno-dev" ];
30 postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
31 ln -s "$out/Applications/KDE/kdiff3.app/Contents/MacOS" "$out/bin"
35 description = "Compares and merges 2 or 3 files or directories";
36 mainProgram = "kdiff3";
37 homepage = "https://invent.kde.org/sdk/kdiff3";
38 license = licenses.gpl2Plus;
39 maintainers = with maintainers; [ peterhoeg ];
40 platforms = with platforms; linux ++ darwin;