9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
39 lines
856 B
Nix
39 lines
856 B
Nix
{ mkDerivation
|
|
, lib
|
|
, fetchurl
|
|
, extra-cmake-modules
|
|
, kdoctools
|
|
, wrapGAppsHook
|
|
, boost
|
|
, kcrash
|
|
, kconfig
|
|
, kinit
|
|
, kparts
|
|
, kiconthemes
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "kdiff3";
|
|
version = "1.10.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-sq//S3pJib9KCjeGfyW3a6uI3zq2Wi99QJp7S+0HBZ0=";
|
|
};
|
|
|
|
buildInputs = [ boost ];
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
|
|
|
|
propagatedBuildInputs = [ kconfig kcrash kinit kparts kiconthemes ];
|
|
|
|
cmakeFlags = [ "-Wno-dev" ];
|
|
|
|
meta = with lib; {
|
|
description = "Compares and merges 2 or 3 files or directories";
|
|
homepage = "https://invent.kde.org/sdk/kdiff3";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|