1{
2 mkDerivation, lib, fetchurl,
3 extra-cmake-modules, kdoctools, wrapGAppsHook,
4 kcrash, kconfig, kinit, kparts, kiconthemes
5}:
6
7mkDerivation rec {
8 pname = "kdiff3";
9 version = "1.8.5";
10
11 src = fetchurl {
12 url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
13 sha256 = "sha256-vJL30E6xI/nFbb4wR69nv3FSQPqZSHrB0czypF4IVME=";
14 };
15
16 nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
17
18 propagatedBuildInputs = [ kconfig kcrash kinit kparts kiconthemes ];
19
20 meta = with lib; {
21 homepage = "https://invent.kde.org/sdk/kdiff3";
22 license = licenses.gpl2Plus;
23 description = "Compares and merges 2 or 3 files or directories";
24 maintainers = with maintainers; [ peterhoeg ];
25 platforms = with platforms; linux;
26 };
27}