2022-02-10 20:34:41 +00:00
|
|
|
{ mkDerivation
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, extra-cmake-modules
|
|
|
|
, kdoctools
|
|
|
|
, wrapGAppsHook
|
|
|
|
, boost
|
|
|
|
, kcrash
|
|
|
|
, kconfig
|
|
|
|
, kinit
|
|
|
|
, kparts
|
|
|
|
, kiconthemes
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "kdiff3";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "1.10.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-IFQ0kw9nU2wgUZFir33fQ1hG4qGhJdegmG9M4n+bM8g=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
buildInputs = [ boost ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ kconfig kcrash kinit kparts kiconthemes ];
|
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
cmakeFlags = [ "-Wno-dev" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
2022-02-10 20:34:41 +00:00
|
|
|
description = "Compares and merges 2 or 3 files or directories";
|
2020-11-21 19:51:51 +00:00
|
|
|
homepage = "https://invent.kde.org/sdk/kdiff3";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|