kdiff3: mark as supported on darwin (#299553)

Tested this on aarch64 and x86_64 and it works.
This commit is contained in:
Hraban 2024-04-01 19:55:04 -04:00 committed by GitHub
parent 7104ed6a1d
commit abe7e2fa57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -27,12 +27,16 @@ stdenv.mkDerivation (finalAttrs: {
cmakeFlags = [ "-Wno-dev" ];
postInstall = lib.optionalString stdenv.isDarwin ''
ln -s "$out/Applications/KDE/kdiff3.app/Contents/MacOS" "$out/bin"
'';
meta = with lib; {
description = "Compares and merges 2 or 3 files or directories";
mainProgram = "kdiff3";
homepage = "https://invent.kde.org/sdk/kdiff3";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ peterhoeg ];
platforms = with platforms; linux;
platforms = with platforms; linux ++ darwin;
};
})