nixpkgs/pkgs/applications/kde/kompare.nix

27 lines
700 B
Nix
Raw Normal View History

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