2020-04-24 23:36:52 +00:00
|
|
|
{
|
|
|
|
mkDerivation, lib,
|
|
|
|
extra-cmake-modules, kdoctools,
|
2020-12-25 13:55:36 +00:00
|
|
|
kiconthemes, kparts, ktexteditor, kwidgetsaddons, libkomparediff2,
|
|
|
|
fetchpatch
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
2021-01-05 17:05:55 +00:00
|
|
|
pname = "kompare";
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = { license = with lib.licenses; [ gpl2 ]; };
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
|
|
buildInputs = [
|
|
|
|
kiconthemes kparts ktexteditor kwidgetsaddons libkomparediff2
|
|
|
|
];
|
2020-12-25 13:55:36 +00:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
# Portaway from Obsolete methods of QPrinter
|
|
|
|
# Part of v20.12.0
|
|
|
|
url = "https://invent.kde.org/sdk/kompare/-/commit/68d3eee36c48a2f44ccfd3f9e5a36311b829104b.patch";
|
|
|
|
sha256 = "B2i5n5cUDjCqTEF0OyTb1+LhPa5yWCnFycwijf35kwU=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
}
|