1{ mkDerivation
2, lib
3, fetchurl
4, extra-cmake-modules
5, kdoctools
6, wrapGAppsHook
7, boost
8, kcrash
9, kconfig
10, kinit
11, kparts
12, kiconthemes
13}:
14
15mkDerivation rec {
16 pname = "kdiff3";
17 version = "1.10.6";
18
19 src = fetchurl {
20 url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
21 hash = "sha256-EzOu+dZjbGs0ZqF/0sXZbpGdTrUh6isjUoJUETau+zE=";
22 };
23
24 buildInputs = [ boost ];
25
26 nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
27
28 propagatedBuildInputs = [ kconfig kcrash kinit kparts kiconthemes ];
29
30 cmakeFlags = [ "-Wno-dev" ];
31
32 meta = with lib; {
33 description = "Compares and merges 2 or 3 files or directories";
34 homepage = "https://invent.kde.org/sdk/kdiff3";
35 license = licenses.gpl2Plus;
36 maintainers = with maintainers; [ peterhoeg ];
37 platforms = with platforms; linux;
38 };
39}