depot/third_party/nixpkgs/pkgs/tools/text/kdiff3/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

39 lines
855 B
Nix

{ mkDerivation
, lib
, fetchurl
, extra-cmake-modules
, kdoctools
, wrapGAppsHook
, boost
, kcrash
, kconfig
, kinit
, kparts
, kiconthemes
}:
mkDerivation rec {
pname = "kdiff3";
version = "1.9.4";
src = fetchurl {
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-oTBxLO7wdN9pFCaQn8SjMrZvTD8UkKVIq1v7RjFsOFo=";
};
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;
};
}