nixpkgs-suyu/pkgs/applications/kde/kompare.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

20 lines
520 B
Nix

{
mkDerivation, lib,
extra-cmake-modules, kdoctools,
kiconthemes, kparts, ktexteditor, kwidgetsaddons, libkomparediff2,
}:
mkDerivation {
pname = "kompare";
meta = {
homepage = "https://apps.kde.org/kompare/";
description = "Diff/patch frontend";
mainProgram = "kompare";
license = with lib.licenses; [ gpl2 ];
};
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
kiconthemes kparts ktexteditor kwidgetsaddons libkomparediff2
];
outputs = [ "out" "dev" ];
}