28 lines
781 B
Nix
28 lines
781 B
Nix
|
{
|
||
|
mkDerivation, lib, fetchurl,
|
||
|
extra-cmake-modules, kdoctools, wrapGAppsHook,
|
||
|
kcrash, kconfig, kinit, kparts, kiconthemes
|
||
|
}:
|
||
|
|
||
|
mkDerivation rec {
|
||
|
pname = "kdiff3";
|
||
|
version = "1.8.2";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
|
||
|
sha256 = "0s5vsm1avzv88b6mf2pp20c2sz0srrj52iiqpnwi3p4ihivm8wgv";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
|
||
|
|
||
|
propagatedBuildInputs = [ kconfig kcrash kinit kparts kiconthemes ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
homepage = "http://kdiff3.sourceforge.net/";
|
||
|
license = licenses.gpl2Plus;
|
||
|
description = "Compares and merges 2 or 3 files or directories";
|
||
|
maintainers = with maintainers; [ peterhoeg ];
|
||
|
platforms = with platforms; linux;
|
||
|
};
|
||
|
}
|