nixpkgs/pkgs/tools/text/kdiff3/default.nix

40 lines
855 B
Nix
Raw Normal View History

2022-01-28 04:11:00 +00:00
{ mkDerivation
, lib
, fetchurl
, extra-cmake-modules
, kdoctools
, wrapGAppsHook
, boost
, kcrash
, kconfig
, kinit
, kparts
, kiconthemes
}:
2017-05-16 16:56:41 +01:00
mkDerivation rec {
pname = "kdiff3";
2022-01-28 04:11:00 +00:00
version = "1.9.4";
2017-05-16 16:56:41 +01:00
src = fetchurl {
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
2022-01-28 04:11:00 +00:00
sha256 = "sha256-oTBxLO7wdN9pFCaQn8SjMrZvTD8UkKVIq1v7RjFsOFo=";
};
2022-01-28 04:11:00 +00:00
buildInputs = [ boost ];
2017-05-16 16:56:41 +01:00
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
2019-11-22 16:18:40 +00:00
propagatedBuildInputs = [ kconfig kcrash kinit kparts kiconthemes ];
2017-05-16 16:56:41 +01:00
2022-01-28 04:11:00 +00:00
cmakeFlags = [ "-Wno-dev" ];
2017-05-16 16:56:41 +01:00
meta = with lib; {
2022-01-28 04:11:00 +00:00
description = "Compares and merges 2 or 3 files or directories";
2020-11-05 20:34:27 +00:00
homepage = "https://invent.kde.org/sdk/kdiff3";
2017-05-16 16:56:41 +01:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ peterhoeg ];
2017-05-16 16:56:41 +01:00
platforms = with platforms; linux;
};
}