nixpkgs/pkgs/applications/kde/kompare.nix

27 lines
699 B
Nix
Raw Normal View History

{
2017-05-16 15:56:41 +00:00
mkDerivation, lib,
2017-05-17 19:26:11 +00:00
extra-cmake-modules, kdoctools,
kiconthemes, kparts, ktexteditor, kwidgetsaddons, libkomparediff2,
fetchpatch
2016-07-08 15:36:52 +00:00
}:
2017-05-16 15:56:41 +00:00
mkDerivation {
name = "kompare";
meta = { license = with lib.licenses; [ gpl2 ]; };
2017-05-17 19:26:11 +00:00
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
2017-06-21 13:51:21 +00:00
buildInputs = [
kiconthemes kparts ktexteditor kwidgetsaddons libkomparediff2
2017-05-16 15:56:41 +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=";
})
];
2017-06-21 13:51:21 +00:00
outputs = [ "out" "dev" ];
}